ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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) | |
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().
|
staticprotected |
urlencode without encoding slashes
$str |
Definition at line 290 of file class.ilCloudPluginFileTreeGUI.php.
|
protected |
Definition at line 269 of file class.ilCloudPluginFileTreeGUI.php.
References $options, and ilJsonUtil\encode().
|
protected |
$bytes | ||
int | $precision |
Definition at line 208 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getItemHtml().
ilCloudPluginFileTreeGUI::getFileTree | ( | ) |
Definition at line 52 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 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().
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().
|
static |
ilCloudFileNode | $node |
Definition at line 263 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 242 of file class.ilCloudPluginFileTreeGUI.php.
References getFileTree(), ilCloudFileNode\getId(), getLinkToFolder(), ilCloudFileNode\getParentId(), ilCloudFileNode\getPath(), and ilCloudPluginGUI\getPluginObject().
|
protected |
ilTemplate | $block |
Definition at line 135 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getFolderHtml().
ilCloudPluginFileTreeGUI::setFileTree | ( | ilCloudFileTree | $file_tree | ) |
ilCloudFileTree | $file_tree |
Definition at line 41 of file class.ilCloudPluginFileTreeGUI.php.
References $file_tree.
Referenced by __construct().
|
protected |
ilTemplate | $item | |
ilCloudFileNode | $node |
Definition at line 232 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 127 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getFolderHtml().
|
protected |
Definition at line 25 of file class.ilCloudPluginFileTreeGUI.php.
Referenced by getFileTree(), and setFileTree().