|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class ilFileVersionsUploadHandlerGUI. More...
Inheritance diagram for ilFileVersionsUploadHandlerGUI:
Collaboration diagram for ilFileVersionsUploadHandlerGUI:Public Member Functions | |
| __construct (protected ilObjFile $file, string $upload_mode=self::MODE_APPEND) | |
| supportsChunkedUploads () | |
Public Member Functions inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler | |
| __construct () | |
| getUploadURL () | |
| getExistingFileInfoURL () | |
| getFileRemovalURL () | |
| getInfoResult (string $identifier) | |
| getInfoForExistingFiles (array $file_ids) | |
Public Member Functions inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler | |
| __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 () | |
Data Fields | |
| const | MODE_APPEND = 'append' |
| const | MODE_REPLACE = 'replace' |
| const | P_UPLOAD_MODE = 'upload_mode' |
Data Fields inherited from ILIAS\UI\Component\Input\Field\UploadHandler | |
| const | DEFAULT_FILE_ID_PARAMETER = 'file_id' |
Protected Member Functions | |
| getStakeholder () | |
| getClassPath () | |
| getUploadResult () | |
| processChunckedUpload (UploadResult $result) | |
Protected Member Functions inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler | |
| getStakeholder () | |
| getClassPath () | |
| getUploadResult () | |
| processChunckedUpload (UploadResult $result) | |
| getRemoveResult (string $identifier) | |
Protected Member Functions inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler | |
| readChunkedInformation () | |
| getUploadResult () | |
| getRemoveResult (string $identifier) | |
Protected Attributes | |
| bool | $append |
| string | $upload_mode = self::MODE_APPEND |
Protected Attributes inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareIRSSUploadHandler | |
| ilFileServicesFilenameSanitizer | $sanitizer |
| ilLanguage | $language |
| ILIAS ResourceStorage Services | $irss |
| ResourceStakeholder | $stakeholder |
| ILIAS Filesystem Filesystem | $temp_filesystem |
| array | $class_path |
Protected Attributes inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler | |
| 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 |
Class ilFileVersionsUploadHandlerGUI.
ilFileVersionsUploadHandlerGUI : ilFileVersionsGUI
Definition at line 32 of file class.ilFileVersionsUploadHandlerGUI.php.
| ilFileVersionsUploadHandlerGUI::__construct | ( | protected ilObjFile | $file, |
| string | $upload_mode = self::MODE_APPEND |
||
| ) |
Definition at line 40 of file class.ilFileVersionsUploadHandlerGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\ctrl(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
protected |
Definition at line 57 of file class.ilFileVersionsUploadHandlerGUI.php.
|
protected |
Definition at line 51 of file class.ilFileVersionsUploadHandlerGUI.php.
References $DIC.
|
protected |
Definition at line 67 of file class.ilFileVersionsUploadHandlerGUI.php.
References $message, ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\FileUpload\DTO\UploadResult\isOK(), processChunckedUpload(), and ILIAS\Repository\upload().
Here is the call graph for this function:
|
protected |
Definition at line 102 of file class.ilFileVersionsUploadHandlerGUI.php.
References ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\$amount_of_chunks, ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler\getFileIdentifierParameterName(), ILIAS\FileUpload\DTO\UploadResult\getName(), and ILIAS\FileUpload\DTO\UploadResult\getPath().
Referenced by getUploadResult().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileVersionsUploadHandlerGUI::supportsChunkedUploads | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 62 of file class.ilFileVersionsUploadHandlerGUI.php.
|
protected |
Definition at line 37 of file class.ilFileVersionsUploadHandlerGUI.php.
|
protected |
Definition at line 38 of file class.ilFileVersionsUploadHandlerGUI.php.
| const ilFileVersionsUploadHandlerGUI::MODE_APPEND = 'append' |
Definition at line 34 of file class.ilFileVersionsUploadHandlerGUI.php.
Referenced by ilFileVersionFormGUI\initForm().
| const ilFileVersionsUploadHandlerGUI::MODE_REPLACE = 'replace' |
Definition at line 35 of file class.ilFileVersionsUploadHandlerGUI.php.
Referenced by ilFileVersionFormGUI\initForm().
| const ilFileVersionsUploadHandlerGUI::P_UPLOAD_MODE = 'upload_mode' |
Definition at line 36 of file class.ilFileVersionsUploadHandlerGUI.php.