|
ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilCloudPluginUploadGUI. More...
Inheritance diagram for ilCloudPluginUploadGUI:
Collaboration diagram for ilCloudPluginUploadGUI:Public Member Functions | |
| executeCommand () | |
| execute command | |
| asyncUploadFile () | |
| initUploadForm () | |
| cancelAll () | |
| uploadFiles () | |
| Update properties. | |
| handleFileUpload ($file_upload) | |
Public Member Functions inherited from ilCloudPluginGUI | |
| __construct ($plugin_service_class) | |
| getPluginObject () | |
| getPluginHookObject () | |
| getAdminConfigObject () | |
| getService () | |
| txt ($var="") | |
Protected Member Functions | |
| uploadDirectory ($dir, $parent_id, $file_tree, $keep_structure=true) | |
| Recursive Method to upload a directory. | |
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, $options, ilJsonUtil\encode(), exit, and initUploadForm().
Here is the call graph for this function:| ilCloudPluginUploadGUI::cancelAll | ( | ) |
Definition at line 92 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 135 of file class.ilCloudPluginUploadGUI.php.
References $_POST, $_SESSION, 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 64 of file class.ilCloudPluginUploadGUI.php.
References $file, $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 195 of file class.ilCloudPluginUploadGUI.php.
References ilFileUtilsException\$BROKEN_FILE, $file, and $lng.
Referenced by handleFileUpload().
Here is the caller graph for this function:| ilCloudPluginUploadGUI::uploadFiles | ( | ) |
Update properties.
Definition at line 102 of file class.ilCloudPluginUploadGUI.php.
References 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.