ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
AbsolutePathConsumer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28{
29 protected string $absolute_path = '';
30
31 public function getAbsolutePath(): string
32 {
33 $this->run();
35 }
36
37 public function run(): void
38 {
39 $revision = $this->stream_access->populateRevision($this->getRevision());
40
41 $stream = $revision->maybeStreamResolver()?->getStream();
42
43 $this->absolute_path = (string) ($stream->getMetadata('uri') ?? '');
44 }
45}
run()
This runs the actual DeliveryConsumer.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...