ILIAS
release_8 Revision v8.23
◀ 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->maybeGetToken()->resolveStream();
42
43
$this->absolute_path = (string)($stream->getMetadata(
'uri'
) ??
''
);
44
}
45
}
ILIAS\ResourceStorage\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\ResourceStorage\Consumer\AbsolutePathConsumer\$absolute_path
string $absolute_path
Definition:
AbsolutePathConsumer.php:29
ILIAS\ResourceStorage\Consumer\BaseConsumer
Definition:
BaseConsumer.php:31
ILIAS\ResourceStorage\Consumer\AbsolutePathConsumer
Definition:
AbsolutePathConsumer.php:27
ILIAS\ResourceStorage\Consumer\AbsolutePathConsumer\run
run()
This runs the actual DeliveryConsumer.
Definition:
AbsolutePathConsumer.php:37
src
ResourceStorage
Consumer
AbsolutePathConsumer.php
Generated on Tue Sep 2 2025 22:02:56 for ILIAS by
1.8.13 (using
Doxyfile
)