|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilCloudPluginUploadGUI. More...
Inheritance diagram for ilCloudPluginUploadGUI:
Collaboration diagram for ilCloudPluginUploadGUI:Public Member Functions | |
| executeCommand () | |
| execute command More... | |
| asyncUploadFile () | |
| initUploadForm () | |
| cancelAll () | |
| uploadFiles () | |
| Update properties. More... | |
| handleFileUpload ($file_upload) | |
Public Member Functions inherited from ilCloudPluginGUI | |
| __construct ($plugin_service_class) | |
| getPluginObject () | |
| getPluginHookObject () | |
| getAdminConfigObject () | |
| getService () | |
| txt ($var="") | |
| executeCommand () | |
Protected Member Functions | |
| uploadDirectory ($dir, $parent_id, $file_tree, $keep_structure=true) | |
| Recursive Method to upload a directory. More... | |
Protected Attributes | |
| $form | |
Protected Attributes inherited from ilCloudPluginGUI | |
| $service = null | |
Class ilCloudPluginUploadGUI.
Standard class for uploading files. Can be overwritten if needed.
Definition at line 17 of file class.ilCloudPluginUploadGUI.php.
| ilCloudPluginUploadGUI::asyncUploadFile | ( | ) |
Definition at line 40 of file class.ilCloudPluginUploadGUI.php.
References $_POST, $_SESSION, $DIC, PHPMailer\PHPMailer\$options, ilJsonUtil\encode(), exit, and initUploadForm().
Here is the call graph for this function:| ilCloudPluginUploadGUI::cancelAll | ( | ) |
Definition at line 96 of file class.ilCloudPluginUploadGUI.php.
References exit.
| ilCloudPluginUploadGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilCloudPluginGUI.
Definition at line 26 of file class.ilCloudPluginUploadGUI.php.
| ilCloudPluginUploadGUI::handleFileUpload | ( | $file_upload | ) |
Definition at line 134 of file class.ilCloudPluginUploadGUI.php.
References $_POST, $_SESSION, $response, ilUtil\delDir(), exit, ilCloudFileTree\getFileTreeFromSession(), ilUtil\ilTempnam(), ilUtil\makeDir(), ilFileUtils\processZipFile(), and uploadDirectory().
Referenced by uploadFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCloudPluginUploadGUI::initUploadForm | ( | ) |
Definition at line 65 of file class.ilCloudPluginUploadGUI.php.
References $DIC, $ilCtrl, $lng, and ilUtil\getImagePath().
Referenced by asyncUploadFile(), and uploadFiles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Recursive Method to upload a directory.
| string | $dir | path to directory |
| int | $parent_id | id of parent folder |
| ilCloudFileTree | $file_tree | |
| bool | $keep_structure | if false, only files will be extracted, without folder structure |
| ilCloudException |
Definition at line 184 of file class.ilCloudPluginUploadGUI.php.
References ilFileUtilsException\$BROKEN_FILE, $DIC, $lng, and uploadDirectory().
Referenced by handleFileUpload(), and uploadDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCloudPluginUploadGUI::uploadFiles | ( | ) |
Update properties.
Definition at line 106 of file class.ilCloudPluginUploadGUI.php.
References $response, ilJsonUtil\encode(), exit, handleFileUpload(), initUploadForm(), and ilCloudException\UPLOAD_FAILED.
Here is the call graph for this function:
|
protected |
Definition at line 22 of file class.ilCloudPluginUploadGUI.php.