|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilCtrlAwareUploadHandler. More...
Inheritance diagram for ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler:
Collaboration diagram for ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler:Public Member Functions | |
| __construct () | |
| ilUIDemoFileUploadHandlerGUI constructor. More... | |
| getFileIdentifierParameterName () | |
| @inheritDoc More... | |
| getUploadURL () | |
| @inheritDoc More... | |
| getExistingFileInfoURL () | |
| @inheritDoc More... | |
| getFileRemovalURL () | |
| @inheritDoc More... | |
| executeCommand () | |
| Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More... | |
| getInfoResult (string $identifier) | |
| getInfoForExistingFiles (array $file_ids) | |
| supportsChunkedUploads () | |
| executeCommand () | |
| Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More... | |
| getFileIdentifierParameterName () | |
| getUploadURL () | |
| getFileRemovalURL () | |
| getExistingFileInfoURL () | |
| getInfoForExistingFiles (array $file_ids) | |
| getInfoResult (string $identifier) | |
| 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 33 of file AbstractCtrlAwareUploadHandler.php.
| ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::__construct | ( | ) |
ilUIDemoFileUploadHandlerGUI constructor.
Reimplemented in ILIAS\File\Icon\ilIconUploadHandlerGUI, ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler, ilMailAttachmentGUI, ilMailFormUploadHandlerGUI, ilMMUploadHandlerGUI, ilMDVocabularyUploadHandlerGUI, ilSkillProfileUploadHandlerGUI, PersonalSettingsImportHandlerGUI, and QuestionPoolImportUploadHandlerGUI.
Definition at line 53 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\FileUpload\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\FileUpload\Handler\ilCtrlAwareUploadHandler.
Reimplemented in ilIndividualAssessmentMemberGUI, and ilMailAttachmentGUI.
Definition at line 108 of file AbstractCtrlAwareUploadHandler.php.
References $response, ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\CMD_INFO, ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\CMD_REMOVE, ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\CMD_UPLOAD, ILIAS\Repository\ctrl(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getInfoResult(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getRemoveResult(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getUploadResult(), ILIAS\FileDelivery\http(), ILIAS\Filesystem\Stream\Streams\ofString(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\readChunkedInformation(), and ILIAS\FileUpload\Handler\HandlerResult\STATUS_FAILED.
Here is the call graph for this function:| ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::getExistingFileInfoURL | ( | ) |
@inheritDoc
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler, ilIndividualAssessmentMemberGUI, ilRepoStandardUploadHandlerGUI, ilUIAsyncDemoFileUploadHandler, ilUIAsyncDemoFileUploadHandlerGUI, and ilUIDemoFileUploadHandlerGUI.
Definition at line 83 of file AbstractCtrlAwareUploadHandler.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::getFileIdentifierParameterName | ( | ) |
@inheritDoc
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ilIndividualAssessmentMemberGUI, ilMailAttachmentGUI, ilRepoStandardUploadHandlerGUI, and ilUIDemoFileUploadHandlerGUI.
Definition at line 65 of file AbstractCtrlAwareUploadHandler.php.
References ILIAS\UI\Component\Input\Field\UploadHandler\DEFAULT_FILE_ID_PARAMETER.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand(), ilMailFormUploadHandlerGUI\getInfoForExistingFiles(), ilMMUploadHandlerGUI\getInfoForExistingFiles(), ilSkillProfileUploadHandlerGUI\getInfoForExistingFiles(), ILIAS\File\Icon\ilIconUploadHandlerGUI\getInfoForExistingFiles(), ImportUploadHandlerGUI\getInfoResult(), CustomIconUploadHandlerGUI\getInfoResult(), ilCtrlAwareStorageUploadHandler\getInfoResult(), ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler\getInfoResult(), TileImageUploadHandlerGUI\getInfoResult(), ilMailFormUploadHandlerGUI\getInfoResult(), ilMMUploadHandlerGUI\getInfoResult(), ilMDCopyrightImageUploadHandlerGUI\getInfoResult(), ilMDVocabularyUploadHandlerGUI\getInfoResult(), ilSkillProfileUploadHandlerGUI\getInfoResult(), ILIAS\User\Settings\NewAccountMail\UploadHandlerGUI\getInfoResult(), ILIAS\File\Icon\ilIconUploadHandlerGUI\getInfoResult(), CustomIconUploadHandlerGUI\getRemoveResult(), ImportUploadHandlerGUI\getRemoveResult(), ilCtrlAwareStorageUploadHandler\getRemoveResult(), ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler\getRemoveResult(), TileImageUploadHandlerGUI\getRemoveResult(), ilMailFormUploadHandlerGUI\getRemoveResult(), ilMMUploadHandlerGUI\getRemoveResult(), ilMDCopyrightImageUploadHandlerGUI\getRemoveResult(), ilMDVocabularyUploadHandlerGUI\getRemoveResult(), ilSkillProfileUploadHandlerGUI\getRemoveResult(), ILIAS\User\Settings\NewAccountMail\UploadHandlerGUI\getRemoveResult(), ILIAS\File\Icon\ilIconUploadHandlerGUI\getRemoveResult(), ilObjBibliographicUploadHandlerGUI\getUploadResult(), ilFileVersionsUploadHandlerGUI\getUploadResult(), ilCtrlAwareStorageUploadHandler\getUploadResult(), ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler\getUploadResult(), ImportUploadHandlerGUI\getUploadResult(), CustomIconUploadHandlerGUI\getUploadResult(), TileImageUploadHandlerGUI\getUploadResult(), ilMDCopyrightImageUploadHandlerGUI\getUploadResult(), ilMDVocabularyUploadHandlerGUI\getUploadResult(), ilOrgUnitTypeUploadHandlerGUI\getUploadResult(), ilStudyProgrammeTypeUploadHandlerGUI\getUploadResult(), ILIAS\User\Settings\NewAccountMail\UploadHandlerGUI\getUploadResult(), ilFileVersionsUploadHandlerGUI\processChunckedUpload(), and ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler\processChunckedUpload().
Here is the caller graph for this function:| ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::getFileRemovalURL | ( | ) |
@inheritDoc
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler, ilRepoStandardUploadHandlerGUI, ilUIAsyncDemoFileUploadHandler, ilUIAsyncDemoFileUploadHandlerGUI, and ilUIDemoFileUploadHandlerGUI.
Definition at line 92 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.
Reimplemented in ilCtrlAwareStorageUploadHandler, ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler, TileImageUploadHandlerGUI, ilIndividualAssessmentMemberGUI, ilMailAttachmentGUI, ilMailFormUploadHandlerGUI, ilMMUploadHandlerGUI, ilMDCopyrightImageUploadHandlerGUI, ilMDVocabularyUploadHandlerGUI, ilRepoStandardUploadHandlerGUI, ilSkillProfileUploadHandlerGUI, ilUIDemoFileUploadHandlerGUI, ILIAS\User\Settings\NewAccountMail\UploadHandlerGUI, ImportUploadHandlerGUI, CustomIconUploadHandlerGUI, and ILIAS\File\Icon\ilIconUploadHandlerGUI.
|
abstract |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ImportUploadHandlerGUI, CustomIconUploadHandlerGUI, ilCtrlAwareStorageUploadHandler, ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler, TileImageUploadHandlerGUI, ilIndividualAssessmentMemberGUI, ilMailAttachmentGUI, ilMailFormUploadHandlerGUI, ilMMUploadHandlerGUI, ilMDCopyrightImageUploadHandlerGUI, ilMDVocabularyUploadHandlerGUI, ilRepoStandardUploadHandlerGUI, ilSkillProfileUploadHandlerGUI, ilUIDemoFileUploadHandlerGUI, ILIAS\User\Settings\NewAccountMail\UploadHandlerGUI, and ILIAS\File\Icon\ilIconUploadHandlerGUI.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
Here is the caller graph for this function:
|
abstractprotected |
Reimplemented in CustomIconUploadHandlerGUI, ImportUploadHandlerGUI, ilCtrlAwareStorageUploadHandler, ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler, TileImageUploadHandlerGUI, ilIndividualAssessmentMemberGUI, ilMailAttachmentGUI, ilMailFormUploadHandlerGUI, ilMMUploadHandlerGUI, ilMDCopyrightImageUploadHandlerGUI, ilMDVocabularyUploadHandlerGUI, ilRepoStandardUploadHandlerGUI, ilSkillProfileUploadHandlerGUI, ilUIDemoFileUploadHandlerGUI, ILIAS\User\Settings\NewAccountMail\UploadHandlerGUI, and ILIAS\File\Icon\ilIconUploadHandlerGUI.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
Here is the caller graph for this function:
|
abstractprotected |
Reimplemented in ilObjBibliographicUploadHandlerGUI, ilFileVersionsUploadHandlerGUI, ilCtrlAwareStorageUploadHandler, ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler, ImportUploadHandlerGUI, CustomIconUploadHandlerGUI, TileImageUploadHandlerGUI, ilIndividualAssessmentMemberGUI, ilMailAttachmentGUI, ilMDCopyrightImageUploadHandlerGUI, ilMDVocabularyUploadHandlerGUI, ilOrgUnitTypeUploadHandlerGUI, ilRepoStandardUploadHandlerGUI, ilStudyProgrammeTypeUploadHandlerGUI, ilUIDemoFileUploadHandlerGUI, and ILIAS\User\Settings\NewAccountMail\UploadHandlerGUI.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
Here is the caller graph for this function:| ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::getUploadURL | ( | ) |
@inheritDoc
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler, ilIndividualAssessmentMemberGUI, ilRepoStandardUploadHandlerGUI, ilUIAsyncDemoFileUploadHandler, ilUIAsyncDemoFileUploadHandlerGUI, and ilUIDemoFileUploadHandlerGUI.
Definition at line 74 of file AbstractCtrlAwareUploadHandler.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 97 of file AbstractCtrlAwareUploadHandler.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\int().
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::supportsChunkedUploads | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ilObjFileUploadHandlerGUI, and ilFileVersionsUploadHandlerGUI.
Definition at line 164 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 45 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 46 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 44 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 47 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 40 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 39 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 43 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 41 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 37 of file AbstractCtrlAwareUploadHandler.php.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
|
protected |
Definition at line 36 of file AbstractCtrlAwareUploadHandler.php.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
|
protected |
Definition at line 35 of file AbstractCtrlAwareUploadHandler.php.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().