ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilCtrlAwareUploadHandler. More...
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... | |
getInfoForExistingFiles (array $file_ids) | |
executeCommand () | |
Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More... | |
getFileIdentifierParameterName () | |
getUploadURL () | |
getFileRemovalURL () | |
getExistingFileInfoURL () | |
getInfoForExistingFiles (array $file_ids) | |
Protected Member Functions | |
getUploadResult () | |
getRemoveResult (string $identifier) | |
getInfoResult (string $identifier) | |
Protected Attributes | |
const | CMD_UPLOAD = 'upload' |
const | CMD_REMOVE = 'remove' |
const | CMD_INFO = 'info' |
$http | |
$ctrl | |
$upload | |
Additional Inherited Members | |
![]() | |
const | DEFAULT_FILE_ID_PARAMETER = 'file_id' |
Class ilCtrlAwareUploadHandler.
Definition at line 13 of file AbstractCtrlAwareUploadHandler.php.
ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::__construct | ( | ) |
ilUIDemoFileUploadHandlerGUI constructor.
Reimplemented in ilMMUploadHandlerGUI.
Definition at line 35 of file AbstractCtrlAwareUploadHandler.php.
References $DIC, and ILIAS\FileDelivery\http().
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.
Definition at line 80 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\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getInfoResult(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getRemoveResult(), ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getUploadResult(), ILIAS\FileDelivery\http(), and ILIAS\Filesystem\Stream\Streams\ofString().
ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::getExistingFileInfoURL | ( | ) |
@inheritDoc
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ilIndividualAssessmentMemberGUI, and ilUIDemoFileUploadHandlerGUI.
Definition at line 65 of file AbstractCtrlAwareUploadHandler.php.
ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::getFileIdentifierParameterName | ( | ) |
@inheritDoc
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ilIndividualAssessmentMemberGUI, and ilUIDemoFileUploadHandlerGUI.
Definition at line 47 of file AbstractCtrlAwareUploadHandler.php.
References ILIAS\UI\Component\Input\Field\UploadHandler\DEFAULT_FILE_ID_PARAMETER.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand(), ilMMUploadHandlerGUI\getInfoForExistingFiles(), ilMMUploadHandlerGUI\getInfoResult(), and ilMMUploadHandlerGUI\getRemoveResult().
ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::getFileRemovalURL | ( | ) |
@inheritDoc
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ilIndividualAssessmentMemberGUI, and ilUIDemoFileUploadHandlerGUI.
Definition at line 74 of file AbstractCtrlAwareUploadHandler.php.
|
abstract |
array | $file_ids |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ilIndividualAssessmentMemberGUI, ilMMUploadHandlerGUI, and ilUIDemoFileUploadHandlerGUI.
|
abstractprotected |
Reimplemented in ilIndividualAssessmentMemberGUI, ilMMUploadHandlerGUI, and ilUIDemoFileUploadHandlerGUI.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
|
abstractprotected |
Reimplemented in ilIndividualAssessmentMemberGUI, ilMMUploadHandlerGUI, and ilUIDemoFileUploadHandlerGUI.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
|
abstractprotected |
Reimplemented in ilIndividualAssessmentMemberGUI, and ilUIDemoFileUploadHandlerGUI.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler::getUploadURL | ( | ) |
@inheritDoc
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Reimplemented in ilIndividualAssessmentMemberGUI, and ilUIDemoFileUploadHandlerGUI.
Definition at line 56 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 25 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 21 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 29 of file AbstractCtrlAwareUploadHandler.php.
|
protected |
Definition at line 17 of file AbstractCtrlAwareUploadHandler.php.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
|
protected |
Definition at line 16 of file AbstractCtrlAwareUploadHandler.php.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().
|
protected |
Definition at line 15 of file AbstractCtrlAwareUploadHandler.php.
Referenced by ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\executeCommand().