|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Class ilCtrlAwareUploadHandler. More...
Inheritance diagram for ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler:
Collaboration diagram for ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler:Public Member Functions | |
| __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 | |
| readChunkedInformation () | |
| getUploadResult () | |
| getRemoveResult (string $identifier) | |
Protected Attributes | |
| 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 | |
Data Fields inherited from ILIAS\UI\Component\Input\Field\UploadHandler | |
| const | DEFAULT_FILE_ID_PARAMETER = 'file_id' |
Class ilCtrlAwareUploadHandler.
Definition at line 30 of file AbstractCtrlAwareUploadHandler.php.
| ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler::__construct | ( | ) |
ilUIDemoFileUploadHandlerGUI constructor.
Definition at line 50 of file AbstractCtrlAwareUploadHandler.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\upload().
Here is the call graph for this function:| ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler::executeCommand | ( | ) |
Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented.
The Implementation MUST make sure, the Upload and the Removal Command are handled correctly
Implements ILIAS\MetaData\OERExposer\OAIPMH\Handler\ilCtrlAwareUploadHandler.
Definition at line 105 of file AbstractCtrlAwareUploadHandler.php.
References $response, ILIAS\Repository\ctrl(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getInfoForExistingFiles(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getInfoResult(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getRemoveResult(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\getUploadResult(), ILIAS\FileDelivery\http(), ILIAS\Filesystem\Stream\Streams\ofString(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\readChunkedInformation(), and ILIAS\MetaData\OERExposer\OAIPMH\Handler\HandlerResult\STATUS_FAILED.
Here is the call graph for this function:| ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler::getExistingFileInfoURL | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 80 of file AbstractCtrlAwareUploadHandler.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler::getFileIdentifierParameterName | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 62 of file AbstractCtrlAwareUploadHandler.php.
Referenced by ilMMUploadHandlerGUI\__construct(), ilSkillProfileUploadHandlerGUI\__construct(), ILIAS\File\Icon\ilIconUploadHandlerGUI\__construct(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\executeCommand(), ilMMUploadHandlerGUI\getInfoForExistingFiles(), ilSkillProfileUploadHandlerGUI\getInfoForExistingFiles(), ILIAS\File\Icon\ilIconUploadHandlerGUI\getInfoForExistingFiles(), ilMDVocabularyUploadHandlerGUI\getInfoResult(), ilMMUploadHandlerGUI\getInfoResult(), ilSkillProfileUploadHandlerGUI\getInfoResult(), ImportUploadHandlerGUI\getInfoResult(), ilMDCopyrightImageUploadHandlerGUI\getInfoResult(), ilCtrlAwareStorageUploadHandler\getInfoResult(), ilObjectCustomIconUploadHandlerGUI\getInfoResult(), ILIAS\File\Icon\ilIconUploadHandlerGUI\getInfoResult(), ilObjectTileImageUploadHandlerGUI\getInfoResult(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\getInfoResult(), ilMMUploadHandlerGUI\getRemoveResult(), ilMDVocabularyUploadHandlerGUI\getRemoveResult(), ilSkillProfileUploadHandlerGUI\getRemoveResult(), ilCtrlAwareStorageUploadHandler\getRemoveResult(), ImportUploadHandlerGUI\getRemoveResult(), ilMDCopyrightImageUploadHandlerGUI\getRemoveResult(), ilObjectCustomIconUploadHandlerGUI\getRemoveResult(), ILIAS\File\Icon\ilIconUploadHandlerGUI\getRemoveResult(), ilObjectTileImageUploadHandlerGUI\getRemoveResult(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\getRemoveResult(), ilObjBibliographicUploadHandlerGUI\getUploadResult(), ilOrgUnitTypeUploadHandlerGUI\getUploadResult(), ilStudyProgrammeTypeUploadHandlerGUI\getUploadResult(), ilMDVocabularyUploadHandlerGUI\getUploadResult(), ilMDCopyrightImageUploadHandlerGUI\getUploadResult(), ilCtrlAwareStorageUploadHandler\getUploadResult(), ImportUploadHandlerGUI\getUploadResult(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\getUploadResult(), ilObjectCustomIconUploadHandlerGUI\getUploadResult(), ilFileVersionsUploadHandlerGUI\getUploadResult(), ilObjectTileImageUploadHandlerGUI\getUploadResult(), ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\processChunckedUpload(), and ilFileVersionsUploadHandlerGUI\processChunckedUpload().
Here is the caller graph for this function:| ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler::getFileRemovalURL | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 89 of file AbstractCtrlAwareUploadHandler.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
abstract |
| array | $file_ids |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Referenced by ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
Here is the caller graph for this function:
|
abstract |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Referenced by ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
Here is the caller graph for this function:
|
abstractprotected |
Referenced by ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
Here is the caller graph for this function:
|
abstractprotected |
Referenced by ilMMUploadHandlerGUI\__construct(), ilSkillProfileUploadHandlerGUI\__construct(), ILIAS\File\Icon\ilIconUploadHandlerGUI\__construct(), and ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
Here is the caller graph for this function:| ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler::getUploadURL | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 71 of file AbstractCtrlAwareUploadHandler.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 94 of file AbstractCtrlAwareUploadHandler.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\int().
Referenced by ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareUploadHandler::supportsChunkedUploads | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 161 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 42 of file AbstractCtrlAwareUploadHandler.php.
Referenced by ILIAS\MetaData\OERExposer\OAIPMH\Handler\AbstractCtrlAwareIRSSUploadHandler\processChunckedUpload(), and ilFileVersionsUploadHandlerGUI\processChunckedUpload().
|
protected |
Definition at line 43 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 41 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 44 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 37 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 36 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 40 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 38 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 34 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 33 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 32 of file AbstractCtrlAwareUploadHandler.php.