ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Class ilCtrlAwareStorageUploadHandler. More...
Public Member Functions | |
__construct (protected ResourceStakeholder $stakeholder) | |
getInfoResult (string $identifier) | |
getInfoForExistingFiles (array $file_ids) | |
![]() | |
__construct () | |
ilUIDemoFileUploadHandlerGUI constructor. More... | |
getFileIdentifierParameterName () | |
getUploadURL () | |
getExistingFileInfoURL () | |
getFileRemovalURL () | |
executeCommand () | |
Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More... | |
getInfoResult (string $identifier) | |
getInfoForExistingFiles (array $file_ids) | |
supportsChunkedUploads () | |
Protected Member Functions | |
getUploadResult () | |
getRemoveResult (string $identifier) | |
![]() | |
readChunkedInformation () | |
getUploadResult () | |
getRemoveResult (string $identifier) | |
Protected Attributes | |
Services | $storage |
![]() | |
const | CMD_UPLOAD = 'upload' |
const | CMD_REMOVE = 'remove' |
const | CMD_INFO = 'info' |
HttpServices | $http |
ilCtrl | $ctrl |
FileUpload | $upload |
bool | $is_chunked = false |
int | $chunk_index = 0 |
int | $amount_of_chunks = 0 |
string | $chunk_id = null |
int | $chunk_total_size = 0 |
Additional Inherited Members | |
![]() | |
const | DEFAULT_FILE_ID_PARAMETER = 'file_id' |
Class ilCtrlAwareStorageUploadHandler.
Definition at line 35 of file class.ilCtrlAwareStorageUploadHandler.php.
ilCtrlAwareStorageUploadHandler::__construct | ( | protected ResourceStakeholder | $stakeholder | ) |
Definition at line 39 of file class.ilCtrlAwareStorageUploadHandler.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
ilCtrlAwareStorageUploadHandler::getInfoForExistingFiles | ( | array | $file_ids | ) |
array | $file_ids |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 102 of file class.ilCtrlAwareStorageUploadHandler.php.
References getInfoResult().
ilCtrlAwareStorageUploadHandler::getInfoResult | ( | string | $identifier | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 87 of file class.ilCtrlAwareStorageUploadHandler.php.
References $id, ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\FileInfoResult\getSize(), and null.
Referenced by getInfoForExistingFiles().
|
protected |
Definition at line 73 of file class.ilCtrlAwareStorageUploadHandler.php.
References $id, $message, ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), and null.
|
protected |
Definition at line 46 of file class.ilCtrlAwareStorageUploadHandler.php.
References $message, ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\FileUpload\DTO\UploadResult\isOK(), and ILIAS\Repository\upload().
|
protected |
Definition at line 37 of file class.ilCtrlAwareStorageUploadHandler.php.