ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilCloudPluginInitGUI. More...
Public Member Functions | |
setGuiClass ($gui_class) | |
getGuiClass () | |
setPermCreateFolders ($perm_create_folders) | |
getPermCreateFolders () | |
setPermDeleteFiles ($perm_delete_files) | |
getPermDeleteFiles () | |
setPermDeleteFolders ($perm_delete_folders) | |
getPermDeleteFolders () | |
setPermDownload ($perm_download) | |
getPermDownload () | |
setPermFilesVisible ($perm_files_visible) | |
getPermFilesVisible () | |
setPermFoldersVisible ($perm_folders_visible) | |
getPermFoldersVisible () | |
setPermUploadItems ($perm_upload_items) | |
getPermUploadItems () | |
setTplFileTree ($tpl_file_tree) | |
getTplFileTree () | |
initGUI (ilObjCloudGUI $gui_class, $perm_create_folder, $perm_upload_items, $perm_delete_files, $perm_delete_folders, $perm_download, $perm_files_visible, $perm_folders_visible) | |
addToolbar ($root_node) | |
beforeInitGUI () | |
beforeSetContent () | |
afterInitGUI () | |
Public Member Functions inherited from ilCloudPluginGUI | |
__construct ($plugin_service_class) | |
getPluginObject () | |
getPluginHookObject () | |
getAdminConfigObject () | |
getService () | |
txt ($var="") | |
executeCommand () | |
Protected Attributes | |
$gui_class = null | |
$perm_upload_items = false | |
$perm_create_folders = false | |
$perm_delete_files = false | |
$perm_delete_folders = false | |
$perm_download = false | |
$perm_files_visible = false | |
$perm_folders_visible = false | |
$tpl_file_tree = null | |
Protected Attributes inherited from ilCloudPluginGUI | |
$service = null | |
Class ilCloudPluginInitGUI.
GUI Class for initialization of the object. Can be extended if needed.
Definition at line 16 of file class.ilCloudPluginInitGUI.php.
ilCloudPluginInitGUI::addToolbar | ( | $root_node | ) |
$root_node |
Definition at line 332 of file class.ilCloudPluginInitGUI.php.
References $DIC, $ilLog, $lng, getGuiClass(), ilCloudConnector\getItemCreationListGUIClass(), ilCloudPluginFileTreeGUI\getLinkToFolder(), getPermCreateFolders(), getPermUploadItems(), ilCloudPluginGUI\getService(), object, and ilAdvancedSelectionListGUI\STYLE_EMPH.
Referenced by initGUI().
ilCloudPluginInitGUI::afterInitGUI | ( | ) |
Definition at line 376 of file class.ilCloudPluginInitGUI.php.
Referenced by initGUI().
ilCloudPluginInitGUI::beforeInitGUI | ( | ) |
Definition at line 366 of file class.ilCloudPluginInitGUI.php.
Referenced by initGUI().
ilCloudPluginInitGUI::beforeSetContent | ( | ) |
Definition at line 371 of file class.ilCloudPluginInitGUI.php.
Referenced by initGUI().
ilCloudPluginInitGUI::getGuiClass | ( | ) |
Definition at line 65 of file class.ilCloudPluginInitGUI.php.
References $gui_class.
Referenced by addToolbar(), and initGUI().
ilCloudPluginInitGUI::getPermCreateFolders | ( | ) |
Definition at line 83 of file class.ilCloudPluginInitGUI.php.
References $perm_create_folders.
Referenced by addToolbar().
ilCloudPluginInitGUI::getPermDeleteFiles | ( | ) |
Definition at line 101 of file class.ilCloudPluginInitGUI.php.
References $perm_delete_files.
ilCloudPluginInitGUI::getPermDeleteFolders | ( | ) |
Definition at line 119 of file class.ilCloudPluginInitGUI.php.
References $perm_delete_folders.
ilCloudPluginInitGUI::getPermDownload | ( | ) |
Definition at line 137 of file class.ilCloudPluginInitGUI.php.
References $perm_download.
ilCloudPluginInitGUI::getPermFilesVisible | ( | ) |
Definition at line 155 of file class.ilCloudPluginInitGUI.php.
References $perm_files_visible.
ilCloudPluginInitGUI::getPermFoldersVisible | ( | ) |
Definition at line 173 of file class.ilCloudPluginInitGUI.php.
References $perm_folders_visible.
ilCloudPluginInitGUI::getPermUploadItems | ( | ) |
Definition at line 191 of file class.ilCloudPluginInitGUI.php.
References $perm_upload_items.
Referenced by addToolbar().
ilCloudPluginInitGUI::getTplFileTree | ( | ) |
ilCloudPluginInitGUI::initGUI | ( | ilObjCloudGUI | $gui_class, |
$perm_create_folder, | |||
$perm_upload_items, | |||
$perm_delete_files, | |||
$perm_delete_folders, | |||
$perm_download, | |||
$perm_files_visible, | |||
$perm_folders_visible | |||
) |
ilObjCloudGUI | $gui_class | |
$perm_create_folder | ||
$perm_upload_items | ||
$perm_delete_files | ||
$perm_delete_folders | ||
$perm_download | ||
$perm_files_visible | ||
$perm_folders_visible |
else { $file_tree = ilCloudFileTree::getFileTreeFromSession(); if($_GET["current_path"] && $_GET["current_id"] && $file_tree && $file_tree->getId() == $this->getGUIClass()->object->getId()) { $path = $_GET["current_path"]; $id = $_GET["current_id"];
} else { $path = $gui_class->object->getRootFolder(); $id = $gui_class->object->getRootId(); ilCloudFileTree::clearFileTreeSession(); $file_tree = new ilCloudFileTree($this->getGUIClass()->object->getRootFolder(), $this->getGUIClass()->object->getRootId(), $this->getGUIClass()->object->getId(), $this->getGUIClass()->object->getServiceName()); }
$file_tree->updateFileTree($path); $file_tree_gui = ilCloudConnector::getFileTreeGUIClass($this->getService(), $file_tree); $this->content = $file_tree_gui->getFolderHtml($this->getGuiClass(), $id, $this->getPermDeleteFiles(), $this->getPermDeleteFolders(), $this->getPermDownload(), $this->getPermFilesVisible(), $this->getPermCreateFolders()); $tpl->setContent($this->content); }
Definition at line 231 of file class.ilCloudPluginInitGUI.php.
References $_POST, $DIC, $lng, $perm_delete_files, $perm_delete_folders, $perm_download, $perm_files_visible, $perm_folders_visible, $perm_upload_items, $tpl, addToolbar(), afterInitGUI(), ilCloudException\AUTHENTICATION_FAILED, beforeInitGUI(), beforeSetContent(), ilCloudConnector\checkServiceActive(), getGuiClass(), ilCloudConnector\getPluginClass(), ilYuiUtil\initConnection(), object, ilUtil\sendFailure(), setGuiClass(), setPermCreateFolders(), setPermDeleteFiles(), setPermDeleteFolders(), setPermDownload(), setPermFilesVisible(), setPermFoldersVisible(), setPermUploadItems(), and ilCloudFileTree\storeFileTreeToSession().
ilCloudPluginInitGUI::setGuiClass | ( | $gui_class | ) |
\ilObjCloudGUI | $gui_class |
Definition at line 56 of file class.ilCloudPluginInitGUI.php.
References $gui_class.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermCreateFolders | ( | $perm_create_folders | ) |
boolean | $perm_create_folders |
Definition at line 74 of file class.ilCloudPluginInitGUI.php.
References $perm_create_folders.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermDeleteFiles | ( | $perm_delete_files | ) |
boolean | $perm_delete_files |
Definition at line 92 of file class.ilCloudPluginInitGUI.php.
References $perm_delete_files.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermDeleteFolders | ( | $perm_delete_folders | ) |
boolean | $perm_delete_folders |
Definition at line 110 of file class.ilCloudPluginInitGUI.php.
References $perm_delete_folders.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermDownload | ( | $perm_download | ) |
boolean | $perm_download |
Definition at line 128 of file class.ilCloudPluginInitGUI.php.
References $perm_download.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermFilesVisible | ( | $perm_files_visible | ) |
boolean | $perm_files_visible |
Definition at line 146 of file class.ilCloudPluginInitGUI.php.
References $perm_files_visible.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermFoldersVisible | ( | $perm_folders_visible | ) |
boolean | $perm_folders_visible |
Definition at line 164 of file class.ilCloudPluginInitGUI.php.
References $perm_folders_visible.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermUploadItems | ( | $perm_upload_items | ) |
boolean | $perm_upload_items |
Definition at line 182 of file class.ilCloudPluginInitGUI.php.
References $perm_upload_items.
Referenced by initGUI().
ilCloudPluginInitGUI::setTplFileTree | ( | $tpl_file_tree | ) |
\ilTemplate | $tpl_file_tree |
Definition at line 200 of file class.ilCloudPluginInitGUI.php.
References $tpl_file_tree.
|
protected |
Definition at line 22 of file class.ilCloudPluginInitGUI.php.
Referenced by getGuiClass(), and setGuiClass().
|
protected |
Definition at line 30 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermCreateFolders(), and setPermCreateFolders().
|
protected |
Definition at line 34 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermDeleteFiles(), initGUI(), and setPermDeleteFiles().
|
protected |
Definition at line 38 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermDeleteFolders(), initGUI(), and setPermDeleteFolders().
|
protected |
Definition at line 42 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermDownload(), initGUI(), and setPermDownload().
|
protected |
Definition at line 46 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermFilesVisible(), initGUI(), and setPermFilesVisible().
|
protected |
Definition at line 50 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermFoldersVisible(), initGUI(), and setPermFoldersVisible().
|
protected |
Definition at line 26 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermUploadItems(), initGUI(), and setPermUploadItems().
|
protected |
Definition at line 218 of file class.ilCloudPluginInitGUI.php.
Referenced by getTplFileTree(), and setTplFileTree().