ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
__construct () | |
Services constructor. More... | |
upload (UploadResult $result, ResourceStakeholder $stakeholder, string $title=null) | |
this is the fast-lane: in most cases you want to store a uploaded file in the storage and use it's identification. More... | |
find (string $identification) | |
getRevision (ResourceIdentification $identification) | |
remove (ResourceIdentification $identification) | |
download (ResourceIdentification $identification) | |
inline (ResourceIdentification $identification) | |
stream (ResourceIdentification $identification) | |
Private Attributes | |
$consumer_factory | |
$resource_builder | |
Class Services.
Definition at line 29 of file Services.php.
ILIAS\MainMenu\Storage\Services::__construct | ( | ) |
Services constructor.
Definition at line 45 of file Services.php.
ILIAS\MainMenu\Storage\Services::download | ( | ResourceIdentification | $identification | ) |
Definition at line 123 of file Services.php.
ILIAS\MainMenu\Storage\Services::find | ( | string | $identification | ) |
Definition at line 81 of file Services.php.
ILIAS\MainMenu\Storage\Services::getRevision | ( | ResourceIdentification | $identification | ) |
Definition at line 93 of file Services.php.
ILIAS\MainMenu\Storage\Services::inline | ( | ResourceIdentification | $identification | ) |
Definition at line 129 of file Services.php.
ILIAS\MainMenu\Storage\Services::remove | ( | ResourceIdentification | $identification | ) |
Definition at line 99 of file Services.php.
ILIAS\MainMenu\Storage\Services::stream | ( | ResourceIdentification | $identification | ) |
Definition at line 135 of file Services.php.
ILIAS\MainMenu\Storage\Services::upload | ( | UploadResult | $result, |
ResourceStakeholder | $stakeholder, | ||
string | $title = null |
||
) |
this is the fast-lane: in most cases you want to store a uploaded file in the storage and use it's identification.
UploadResult | $result | |
ResourceStakeholder | $stakeholder | |
string | $title |
Definition at line 67 of file Services.php.
References ILIAS\FileUpload\DTO\UploadResult\getStatus(), and ILIAS\FileUpload\DTO\UploadResult\isOK().
|
private |
Definition at line 35 of file Services.php.
|
private |
Definition at line 39 of file Services.php.