|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilCloudFileTree. More...
Inheritance diagram for ilCloudPluginFileTreeGUI:
Collaboration diagram for ilCloudPluginFileTreeGUI: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) | |
| formatBytes ($bytes, $precision=2) | |
| setItemVariablePlugin (ilTemplate $item, ilCloudFileNode $node) | |
| addDropZone () | |
Static Protected Member Functions | |
| static | _urlencode ($str) |
| urlencode without encoding slashes More... | |
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 31 of file class.ilCloudPluginFileTreeGUI.php.
References setFileTree().
Here is the call graph for this function:
|
staticprotected |
urlencode without encoding slashes
| $str |
Definition at line 290 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getLinkToFolder().
Here is the caller graph for this function:
|
protected |
Definition at line 269 of file class.ilCloudPluginFileTreeGUI.php.
References $options, and ilJsonUtil\encode().
Here is the call graph for this function:
|
protected |
| $bytes | ||
| int | $precision |
Definition at line 208 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getItemHtml().
Here is the caller graph for this function:| ilCloudPluginFileTreeGUI::getFileTree | ( | ) |
Definition at line 52 of file class.ilCloudPluginFileTreeGUI.php.
References $file_tree.
Referenced by getFolderHtml(), and getLocatorHtml().
Here is the caller graph for this function:| 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 70 of file class.ilCloudPluginFileTreeGUI.php.
References $DIC, $id, $lng, $path, getFileTree(), getItemHtml(), ilCloudException\ID_DOES_NOT_EXIST_IN_FILE_TREE_IN_SESSION, setBlockVariablePlugin(), and setTreeVariablePlugin().
Here is the call graph for this function:| 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 149 of file class.ilCloudPluginFileTreeGUI.php.
References $DIC, $ilCtrl, formatBytes(), 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| ilCloudFileNode | $node |
Definition at line 263 of file class.ilCloudPluginFileTreeGUI.php.
References _urlencode(), ilCloudFileNode\getId(), ilCloudFileNode\getParentId(), and ilCloudFileNode\getPath().
Referenced by ilCloudPluginInitGUI\addToolbar(), getItemHtml(), and getLocatorHtml().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCloudPluginFileTreeGUI::getLocatorHtml | ( | ilCloudFileNode | $node | ) |
| ilCloudFileNode | $node |
Definition at line 242 of file class.ilCloudPluginFileTreeGUI.php.
References getFileTree(), ilCloudFileNode\getId(), getLinkToFolder(), getLocatorHtml(), ilCloudFileNode\getParentId(), ilCloudFileNode\getPath(), and ilCloudPluginGUI\getPluginObject().
Referenced by getLocatorHtml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilTemplate | $block |
Definition at line 135 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getFolderHtml().
Here is the caller graph for this function:| ilCloudPluginFileTreeGUI::setFileTree | ( | ilCloudFileTree | $file_tree | ) |
| ilCloudFileTree | $file_tree |
Definition at line 41 of file class.ilCloudPluginFileTreeGUI.php.
References $file_tree.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
| ilTemplate | $item | |
| ilCloudFileNode | $node |
Definition at line 232 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getItemHtml().
Here is the caller graph for this function:| 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 127 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getFolderHtml().
Here is the caller graph for this function:
|
protected |
Definition at line 25 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getFileTree(), and setFileTree().