ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
AbsolutePathConsumer.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\ResourceStorage\Consumer
;
22
27
class
AbsolutePathConsumer
extends
BaseConsumer
28
{
29
protected
string
$absolute_path
=
''
;
30
31
public
function
getAbsolutePath
(): string
32
{
33
$this->
run
();
34
return
$this->absolute_path
;
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
}
ILIAS\LegalDocuments\Consumer\AbsolutePathConsumer\getAbsolutePath
getAbsolutePath()
Definition:
AbsolutePathConsumer.php:31
ILIAS\ResourceStorage\Consumer
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
AbsolutePathConsumer.php:21
ILIAS\LegalDocuments\Consumer\BaseConsumer
Definition:
BaseConsumer.php:31
ILIAS\LegalDocuments\Consumer\AbsolutePathConsumer
Definition:
AbsolutePathConsumer.php:27
ILIAS\LegalDocuments\Consumer\AbsolutePathConsumer\$absolute_path
string $absolute_path
Definition:
AbsolutePathConsumer.php:29
ILIAS\LegalDocuments\Consumer\AbsolutePathConsumer\run
run()
This runs the actual DeliveryConsumer.
Definition:
AbsolutePathConsumer.php:37
components
ILIAS
ResourceStorage
src
Consumer
AbsolutePathConsumer.php
Generated on Sun Aug 31 2025 23:03:37 for ILIAS by
1.8.13 (using
Doxyfile
)