ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (Closure $result_handler, string $file_id_parameter, string $logger_id="", array $ctrl_path=[]) | |
getUploadURL () | |
getExistingFileInfoURL () | |
getFileRemovalURL () | |
getInfoResult (string $identifier) | |
getInfoForExistingFiles (array $file_ids) | |
getFileIdentifierParameterName () | |
![]() | |
__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 | |
getCtrlPath () | |
debug (string $mess) | |
getUploadResult () | |
getRemoveResult (string $identifier) | |
![]() | |
readChunkedInformation () | |
getUploadResult () | |
getRemoveResult (string $identifier) | |
Protected Attributes | |
array | $ctrl_path |
ilLogger | $log = null |
Closure | $result_handler |
string | $file_id_parameter = "" |
![]() | |
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' |
Definition at line 33 of file class.ilRepoStandardUploadHandlerGUI.php.
ilRepoStandardUploadHandlerGUI::__construct | ( | Closure | $result_handler, |
string | $file_id_parameter, | ||
string | $logger_id = "" , |
||
array | $ctrl_path = [] |
||
) |
Definition at line 40 of file class.ilRepoStandardUploadHandlerGUI.php.
References $ctrl_path, $DIC, $file_id_parameter, $result_handler, ILIAS\GlobalScreen\Provider\__construct(), and ilLoggerFactory\getLogger().
|
protected |
Definition at line 86 of file class.ilRepoStandardUploadHandlerGUI.php.
Referenced by getUploadResult().
|
protected |
Definition at line 57 of file class.ilRepoStandardUploadHandlerGUI.php.
References $ctrl_path, and $path.
Referenced by getExistingFileInfoURL(), getFileRemovalURL(), and getUploadURL().
ilRepoStandardUploadHandlerGUI::getExistingFileInfoURL | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 72 of file class.ilRepoStandardUploadHandlerGUI.php.
References ILIAS\Repository\ctrl(), and getCtrlPath().
ilRepoStandardUploadHandlerGUI::getFileIdentifierParameterName | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 141 of file class.ilRepoStandardUploadHandlerGUI.php.
References $file_id_parameter.
Referenced by getRemoveResult(), and getUploadResult().
ilRepoStandardUploadHandlerGUI::getFileRemovalURL | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 81 of file class.ilRepoStandardUploadHandlerGUI.php.
References ILIAS\Repository\ctrl(), and getCtrlPath().
ilRepoStandardUploadHandlerGUI::getInfoForExistingFiles | ( | array | $file_ids | ) |
array | $file_ids |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 136 of file class.ilRepoStandardUploadHandlerGUI.php.
ilRepoStandardUploadHandlerGUI::getInfoResult | ( | string | $identifier | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 131 of file class.ilRepoStandardUploadHandlerGUI.php.
References null.
|
protected |
Definition at line 121 of file class.ilRepoStandardUploadHandlerGUI.php.
References getFileIdentifierParameterName().
|
protected |
Definition at line 93 of file class.ilRepoStandardUploadHandlerGUI.php.
References Vendor\Package\$e, $result_handler, debug(), getFileIdentifierParameterName(), and ILIAS\Repository\upload().
ilRepoStandardUploadHandlerGUI::getUploadURL | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 63 of file class.ilRepoStandardUploadHandlerGUI.php.
References ILIAS\Repository\ctrl(), and getCtrlPath().
|
protected |
Definition at line 35 of file class.ilRepoStandardUploadHandlerGUI.php.
Referenced by __construct(), and getCtrlPath().
|
protected |
Definition at line 38 of file class.ilRepoStandardUploadHandlerGUI.php.
Referenced by __construct(), and getFileIdentifierParameterName().
Definition at line 36 of file class.ilRepoStandardUploadHandlerGUI.php.
|
protected |
Definition at line 37 of file class.ilRepoStandardUploadHandlerGUI.php.
Referenced by __construct(), and getUploadResult().