ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilCloudFileTree. More...
Public Member Functions | |
__construct ($plugin_service_class, ilCloudFileTree $file_tree) | |
setFileTree (ilCloudFileTree $file_tree) | |
getFileTree () | |
getFolderHtml (ilObjCloudGUI $gui_class, $id, $delete_files=false, $delete_folder=false, $download=false, $files_visible=false, $folders_visible=false) | |
setTreeVariablePlugin (ilTemplate $tree_tpl, ilObjCloudGUI $gui_class, $id, $delete_files=false, $delete_folder=false, $download=false, $files_visible=false, $folders_visible=false) | |
getItemHtml (ilCloudFileNode $node, ilObjCloudGUI $gui_class, $delete_files=false, $delete_folder=false, $download=false) | |
getLocatorHtml (ilCloudFileNode $node) | |
Public Member Functions inherited from ilCloudPluginGUI | |
__construct ($plugin_service_class) | |
getPluginObject () | |
getPluginHookObject () | |
getAdminConfigObject () | |
getService () | |
txt ($var="") | |
executeCommand () |
Static Public Member Functions | |
static | getLinkToFolder (ilCloudFileNode $node) |
Protected Member Functions | |
setBlockVariablePlugin (ilTemplate $block) | |
setItemVariablePlugin (ilTemplate $item, ilCloudFileNode $node) | |
addDropZone () |
Protected Attributes | |
$file_tree | |
Protected Attributes inherited from ilCloudPluginGUI | |
$service = null |
Class ilCloudFileTree.
Class for drawing the file tree.
Definition at line 19 of file class.ilCloudPluginFileTreeGUI.php.
ilCloudPluginFileTreeGUI::__construct | ( | $plugin_service_class, | |
ilCloudFileTree | $file_tree | ||
) |
ilCloudFileTree | $file_tree |
Definition at line 30 of file class.ilCloudPluginFileTreeGUI.php.
References setFileTree().
|
protected |
Definition at line 227 of file class.ilCloudPluginFileTreeGUI.php.
References $options, and ilJsonUtil\encode().
ilCloudPluginFileTreeGUI::getFileTree | ( | ) |
Definition at line 49 of file class.ilCloudPluginFileTreeGUI.php.
References $file_tree.
Referenced by getFolderHtml(), and getLocatorHtml().
ilCloudPluginFileTreeGUI::getFolderHtml | ( | ilObjCloudGUI | $gui_class, |
$id, | |||
$delete_files = false , |
|||
$delete_folder = false , |
|||
$download = false , |
|||
$files_visible = false , |
|||
$folders_visible = false |
|||
) |
ilObjCloudGUI | $gui_class | |
$id | ||
bool | $delete_files | |
bool | $delete_folder | |
bool | $download | |
bool | $files_visible | |
bool | $folders_visible |
ilCloudException |
Definition at line 66 of file class.ilCloudPluginFileTreeGUI.php.
References $lng, $path, getFileTree(), getItemHtml(), ilCloudException\ID_DOES_NOT_EXIST_IN_FILE_TREE_IN_SESSION, setBlockVariablePlugin(), and setTreeVariablePlugin().
ilCloudPluginFileTreeGUI::getItemHtml | ( | ilCloudFileNode | $node, |
ilObjCloudGUI | $gui_class, | ||
$delete_files = false , |
|||
$delete_folder = false , |
|||
$download = false |
|||
) |
ilCloudFileNode | $node | |
ilObjCloudGUI | $gui_class | |
bool | $delete_files | |
bool | $delete_folder | |
bool | $download |
Definition at line 140 of file class.ilCloudPluginFileTreeGUI.php.
References $ilCtrl, ilDatePresentation\formatDate(), ilCloudConnector\getActionListGUIClass(), ilCloudFileNode\getIconPath(), ilCloudFileNode\getId(), ilUtil\getImagePath(), ilCloudFileNode\getIsDir(), getLinkToFolder(), ilCloudFileNode\getModified(), ilCloudFileNode\getPath(), ilCloudPluginGUI\getService(), ilCloudFileNode\getSize(), IL_CAL_UNIX, and setItemVariablePlugin().
Referenced by getFolderHtml().
|
static |
ilCloudFileNode | $node |
Definition at line 222 of file class.ilCloudPluginFileTreeGUI.php.
References ilCloudFileNode\getId(), ilCloudFileNode\getParentId(), and ilCloudFileNode\getPath().
Referenced by ilCloudPluginInitGUI\addToolbar(), getItemHtml(), and getLocatorHtml().
ilCloudPluginFileTreeGUI::getLocatorHtml | ( | ilCloudFileNode | $node | ) |
ilCloudFileNode | $node |
Definition at line 202 of file class.ilCloudPluginFileTreeGUI.php.
References getFileTree(), ilCloudFileNode\getId(), getLinkToFolder(), ilCloudFileNode\getParentId(), ilCloudFileNode\getPath(), and ilCloudPluginGUI\getPluginObject().
|
protected |
ilTemplate | $block |
Definition at line 128 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getFolderHtml().
ilCloudPluginFileTreeGUI::setFileTree | ( | ilCloudFileTree | $file_tree | ) |
ilCloudFileTree | $file_tree |
Definition at line 39 of file class.ilCloudPluginFileTreeGUI.php.
References $file_tree.
Referenced by __construct().
|
protected |
ilTemplate | $item | |
ilCloudFileNode | $node |
Definition at line 194 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getItemHtml().
ilCloudPluginFileTreeGUI::setTreeVariablePlugin | ( | ilTemplate | $tree_tpl, |
ilObjCloudGUI | $gui_class, | ||
$id, | |||
$delete_files = false , |
|||
$delete_folder = false , |
|||
$download = false , |
|||
$files_visible = false , |
|||
$folders_visible = false |
|||
) |
ilObjCloudGUI | $gui_class | |
$id | ||
bool | $delete_files | |
bool | $delete_folder | |
bool | $download | |
bool | $files_visible | |
bool | $folders_visible |
Definition at line 122 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getFolderHtml().
|
protected |
Definition at line 24 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getFileTree(), and setFileTree().