◆ __construct()
ILIAS\ResourceStorage\Consumer\ContainerURIConsumer::__construct |
( |
private SrcBuilder |
$src_builder, |
|
|
private StorableResource |
$resource, |
|
|
private StreamAccess |
$stream_access, |
|
|
private string |
$start_file, |
|
|
private float |
$valid_for_at_least_minutes = 60.0 |
|
) |
| |
◆ getURI()
ILIAS\ResourceStorage\Consumer\ContainerURIConsumer::getURI |
( |
| ) |
|
Definition at line 51 of file ContainerURIConsumer.php.
51 : ?URI
52 {
56 }
57
58 $startfile = urlencode($this->start_file);
59 $startfile = str_replace(urlencode("/"), "/", $startfile);
60
61 $uri_string = $this->src_builder->getRevisionURL(
62 $this->stream_access->populateRevision($this->getRevision()),
63 true,
64 $this->valid_for_at_least_minutes,
67
68 try {
69 return new URI($uri_string);
70 } catch (\Throwable) {
71 return null;
72 }
73 }
const SUBREQUEST_SEPARATOR
References $filename, and ILIAS\FileDelivery\Delivery\StreamDelivery\SUBREQUEST_SEPARATOR.
◆ $archives
Archives ILIAS\ResourceStorage\Consumer\ContainerURIConsumer::$archives |
|
private |
◆ $revision_number
int ILIAS\ResourceStorage\Consumer\ContainerURIConsumer::$revision_number = null |
|
protected |
The documentation for this class was generated from the following file: