ILIAS
Release_5_0_x_branch Revision 61816
|
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 309 of file class.ilCloudPluginInitGUI.php.
References $ilLog, $lng, getGuiClass(), ilCloudConnector\getItemCreationListGUIClass(), ilCloudPluginFileTreeGUI\getLinkToFolder(), getPermCreateFolders(), getPermUploadItems(), ilCloudPluginGUI\getService(), and ilAdvancedSelectionListGUI\STYLE_EMPH.
Referenced by initGUI().
ilCloudPluginInitGUI::afterInitGUI | ( | ) |
Definition at line 345 of file class.ilCloudPluginInitGUI.php.
Referenced by initGUI().
ilCloudPluginInitGUI::beforeInitGUI | ( | ) |
Definition at line 339 of file class.ilCloudPluginInitGUI.php.
Referenced by initGUI().
ilCloudPluginInitGUI::beforeSetContent | ( | ) |
Definition at line 342 of file class.ilCloudPluginInitGUI.php.
Referenced by initGUI().
ilCloudPluginInitGUI::getGuiClass | ( | ) |
Definition at line 63 of file class.ilCloudPluginInitGUI.php.
References $gui_class.
Referenced by addToolbar(), and initGUI().
ilCloudPluginInitGUI::getPermCreateFolders | ( | ) |
Definition at line 79 of file class.ilCloudPluginInitGUI.php.
References $perm_create_folders.
Referenced by addToolbar().
ilCloudPluginInitGUI::getPermDeleteFiles | ( | ) |
Definition at line 95 of file class.ilCloudPluginInitGUI.php.
References $perm_delete_files.
ilCloudPluginInitGUI::getPermDeleteFolders | ( | ) |
Definition at line 111 of file class.ilCloudPluginInitGUI.php.
References $perm_delete_folders.
ilCloudPluginInitGUI::getPermDownload | ( | ) |
Definition at line 127 of file class.ilCloudPluginInitGUI.php.
References $perm_download.
ilCloudPluginInitGUI::getPermFilesVisible | ( | ) |
Definition at line 143 of file class.ilCloudPluginInitGUI.php.
References $perm_files_visible.
ilCloudPluginInitGUI::getPermFoldersVisible | ( | ) |
Definition at line 159 of file class.ilCloudPluginInitGUI.php.
References $perm_folders_visible.
ilCloudPluginInitGUI::getPermUploadItems | ( | ) |
Definition at line 175 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 212 of file class.ilCloudPluginInitGUI.php.
References $_POST, $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(), ilUtil\sendFailure(), setGuiClass(), setPermCreateFolders(), setPermDeleteFiles(), setPermDeleteFolders(), setPermDownload(), setPermFilesVisible(), setPermFoldersVisible(), setPermUploadItems(), and ilCloudFileTree\storeFileTreeToSession().
ilCloudPluginInitGUI::setGuiClass | ( | $gui_class | ) |
\ilObjCloudGUI | $gui_class |
Definition at line 55 of file class.ilCloudPluginInitGUI.php.
References $gui_class.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermCreateFolders | ( | $perm_create_folders | ) |
boolean | $perm_create_folders |
Definition at line 71 of file class.ilCloudPluginInitGUI.php.
References $perm_create_folders.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermDeleteFiles | ( | $perm_delete_files | ) |
boolean | $perm_delete_files |
Definition at line 87 of file class.ilCloudPluginInitGUI.php.
References $perm_delete_files.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermDeleteFolders | ( | $perm_delete_folders | ) |
boolean | $perm_delete_folders |
Definition at line 103 of file class.ilCloudPluginInitGUI.php.
References $perm_delete_folders.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermDownload | ( | $perm_download | ) |
boolean | $perm_download |
Definition at line 119 of file class.ilCloudPluginInitGUI.php.
References $perm_download.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermFilesVisible | ( | $perm_files_visible | ) |
boolean | $perm_files_visible |
Definition at line 135 of file class.ilCloudPluginInitGUI.php.
References $perm_files_visible.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermFoldersVisible | ( | $perm_folders_visible | ) |
boolean | $perm_folders_visible |
Definition at line 151 of file class.ilCloudPluginInitGUI.php.
References $perm_folders_visible.
Referenced by initGUI().
ilCloudPluginInitGUI::setPermUploadItems | ( | $perm_upload_items | ) |
boolean | $perm_upload_items |
Definition at line 167 of file class.ilCloudPluginInitGUI.php.
References $perm_upload_items.
Referenced by initGUI().
ilCloudPluginInitGUI::setTplFileTree | ( | $tpl_file_tree | ) |
\ilTemplate | $tpl_file_tree |
Definition at line 183 of file class.ilCloudPluginInitGUI.php.
References $tpl_file_tree.
|
protected |
Definition at line 21 of file class.ilCloudPluginInitGUI.php.
Referenced by getGuiClass(), and setGuiClass().
|
protected |
Definition at line 29 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermCreateFolders(), and setPermCreateFolders().
|
protected |
Definition at line 33 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermDeleteFiles(), initGUI(), and setPermDeleteFiles().
|
protected |
Definition at line 37 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermDeleteFolders(), initGUI(), and setPermDeleteFolders().
|
protected |
Definition at line 41 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermDownload(), initGUI(), and setPermDownload().
|
protected |
Definition at line 45 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermFilesVisible(), initGUI(), and setPermFilesVisible().
|
protected |
Definition at line 49 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermFoldersVisible(), initGUI(), and setPermFoldersVisible().
|
protected |
Definition at line 25 of file class.ilCloudPluginInitGUI.php.
Referenced by getPermUploadItems(), initGUI(), and setPermUploadItems().
|
protected |
Definition at line 199 of file class.ilCloudPluginInitGUI.php.
Referenced by getTplFileTree(), and setTplFileTree().