◆ __construct()
◆ buildTokenURL()
| ILIAS\FileDelivery\Services::buildTokenURL |
( |
FileStream |
$stream, |
|
|
string |
$filename, |
|
|
Disposition |
$disposition, |
|
|
int |
$user_id, |
|
|
int |
$valid_for_at_least_hours |
|
) |
| |
◆ delivery()
| ILIAS\FileDelivery\Services::delivery |
( |
| ) |
|
Definition at line 46 of file Services.php.
48 return $this->delivery;
◆ getBaseURI()
| ILIAS\FileDelivery\Services::getBaseURI |
( |
| ) |
|
|
protected |
Definition at line 81 of file Services.php.
References ILIAS\FileDelivery\http().
Referenced by ILIAS\FileDelivery\Services\buildTokenURL().
83 return $this->base_uri ?? $this->base_uri = rtrim(
84 $this->
http->request()->getUri()->getScheme()
85 .
'://' . $this->
http->request()->getUri()->getHost()
86 . ($this->
http->request()->getUri()->getPort() ?
':' . $this->
http->request()->getUri()->getPort() :
'')
87 . dirname($this->
http->request()->getUri()->getPath()),
static http()
Fetches the global http state from ILIAS.
◆ legacyDelivery()
| ILIAS\FileDelivery\Services::legacyDelivery |
( |
| ) |
|
Definition at line 51 of file Services.php.
53 return $this->legacy_delivery;
◆ $base_uri
| string ILIAS\FileDelivery\Services::$base_uri = null |
|
private |
◆ DELIVERY_ENDPOINT
| const ILIAS\FileDelivery\Services::DELIVERY_ENDPOINT = '/deliver.php/' |
The documentation for this class was generated from the following file: