◆ __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 47 of file Services.php.
49 return $this->delivery;
◆ getBaseURI()
ILIAS\FileDelivery\Services::getBaseURI |
( |
| ) |
|
|
protected |
Definition at line 82 of file Services.php.
References ILIAS\FileDelivery\http().
Referenced by ILIAS\FileDelivery\Services\buildTokenURL().
84 return $this->base_uri ?? $this->base_uri = rtrim(
85 $this->
http->request()->getUri()->getScheme()
86 .
'://' . $this->
http->request()->getUri()->getHost()
87 . ($this->
http->request()->getUri()->getPort() ?
':' . $this->
http->request()->getUri()->getPort() :
'')
88 . dirname($this->
http->request()->getUri()->getPath()),
static http()
Fetches the global http state from ILIAS.
◆ legacyDelivery()
ILIAS\FileDelivery\Services::legacyDelivery |
( |
| ) |
|
Definition at line 52 of file Services.php.
54 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: