ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Class AbstractCtrlAwareIRSSUploadHandler. More...
Public Member Functions | |
__construct () | |
getUploadURL () | |
getExistingFileInfoURL () | |
getFileRemovalURL () | |
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 | |
getStakeholder () | |
getClassPath () | |
getUploadResult () | |
processChunckedUpload (UploadResult $result) | |
getRemoveResult (string $identifier) | |
![]() | |
readChunkedInformation () | |
getUploadResult () | |
getRemoveResult (string $identifier) | |
Protected Attributes | |
ilFileServicesFilenameSanitizer | $sanitizer |
ilLanguage | $language |
Services | $irss |
ResourceStakeholder | $stakeholder |
Filesystem | $temp_filesystem |
array | $class_path |
![]() | |
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 AbstractCtrlAwareIRSSUploadHandler.
Definition at line 33 of file AbstractCtrlAwareIRSSUploadHandler.php.
ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler::__construct | ( | ) |
Definition at line 42 of file AbstractCtrlAwareIRSSUploadHandler.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\getClassPath(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\getStakeholder(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().
|
abstractprotected |
Referenced by ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\__construct().
ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler::getExistingFileInfoURL | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 135 of file AbstractCtrlAwareIRSSUploadHandler.php.
References ILIAS\Repository\ctrl(), and null.
ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler::getFileRemovalURL | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 141 of file AbstractCtrlAwareIRSSUploadHandler.php.
References ILIAS\Repository\ctrl(), and null.
ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler::getInfoForExistingFiles | ( | array | $file_ids | ) |
array | $file_ids |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 175 of file AbstractCtrlAwareIRSSUploadHandler.php.
References ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\getInfoResult().
ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler::getInfoResult | ( | string | $identifier | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 160 of file AbstractCtrlAwareIRSSUploadHandler.php.
References $id, ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\FileInfoResult\getSize(), and null.
Referenced by ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\getInfoForExistingFiles().
|
protected |
Definition at line 146 of file AbstractCtrlAwareIRSSUploadHandler.php.
References $id, $message, ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), null, and ILIAS\MetaData\OERExposer\OAIPMH\Handler\HandlerResult\STATUS_OK.
|
abstractprotected |
Referenced by ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\__construct().
|
protected |
Definition at line 62 of file AbstractCtrlAwareIRSSUploadHandler.php.
References $message, ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\processChunckedUpload(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\HandlerResult\STATUS_FAILED, ILIAS\MetaData\OERExposer\OAIPMH\Handler\HandlerResult\STATUS_OK, and ILIAS\Repository\upload().
ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler::getUploadURL | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 129 of file AbstractCtrlAwareIRSSUploadHandler.php.
References ILIAS\Repository\ctrl(), and null.
|
protected |
Definition at line 88 of file AbstractCtrlAwareIRSSUploadHandler.php.
References ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\$amount_of_chunks, $id, ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\HandlerResult\STATUS_FAILED, ILIAS\MetaData\OERExposer\OAIPMH\Handler\HandlerResult\STATUS_OK, and ILIAS\MetaData\OERExposer\OAIPMH\Handler\HandlerResult\STATUS_PARTIAL.
Referenced by ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\getUploadResult().
|
protected |
Definition at line 40 of file AbstractCtrlAwareIRSSUploadHandler.php.
|
protected |
Definition at line 37 of file AbstractCtrlAwareIRSSUploadHandler.php.
|
protected |
Definition at line 36 of file AbstractCtrlAwareIRSSUploadHandler.php.
|
protected |
Definition at line 35 of file AbstractCtrlAwareIRSSUploadHandler.php.
|
protected |
Definition at line 38 of file AbstractCtrlAwareIRSSUploadHandler.php.
|
protected |
Definition at line 39 of file AbstractCtrlAwareIRSSUploadHandler.php.