ILIAS
release_8 Revision v8.19
|
Class ilCtrlAwareStorageUploadHandler. More...
Public Member Functions | |
__construct (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 | |
ResourceStakeholder | $stakeholder |
ILIAS ResourceStorage 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 37 of file class.ilCtrlAwareStorageUploadHandler.php.
ilCtrlAwareStorageUploadHandler::__construct | ( | ResourceStakeholder | $stakeholder | ) |
Definition at line 42 of file class.ilCtrlAwareStorageUploadHandler.php.
References $DIC, $stakeholder, and ILIAS\GlobalScreen\Provider\__construct().
ilCtrlAwareStorageUploadHandler::getInfoForExistingFiles | ( | array | $file_ids | ) |
array | $file_ids |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 106 of file class.ilCtrlAwareStorageUploadHandler.php.
References getInfoResult().
ilCtrlAwareStorageUploadHandler::getInfoResult | ( | string | $identifier | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 91 of file class.ilCtrlAwareStorageUploadHandler.php.
References $id, ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), and ILIAS\FileUpload\Handler\FileInfoResult\getSize().
Referenced by getInfoForExistingFiles().
|
protected |
Definition at line 77 of file class.ilCtrlAwareStorageUploadHandler.php.
References $id, $message, and ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName().
|
protected |
Definition at line 50 of file class.ilCtrlAwareStorageUploadHandler.php.
References $message, ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\FileUpload\DTO\UploadResult\isOK(), and ILIAS\Repository\upload().
|
protected |
Definition at line 39 of file class.ilCtrlAwareStorageUploadHandler.php.
Referenced by __construct().
|
protected |
Definition at line 40 of file class.ilCtrlAwareStorageUploadHandler.php.