ILIAS
Release_4_4_x_branch Revision 61816
|
ilCloudFileTree class More...
Public Member Functions | |
__construct ($path, $id) | |
setId ($id) | |
getId () | |
setLoadingComplete ($complete) | |
getLoadingComplete () | |
setPath ($path="/") | |
getPath () | |
addChild ($path) | |
removeChild ($path) | |
getChildrenPathes () | |
hasChildren () | |
setParentId ($id) | |
getParentId () | |
setIsDir ($is_dir) | |
getIsDir () | |
setSize ($size) | |
getSize () | |
setModified ($modified) | |
getModified () | |
setIconPath ($path) | |
getIconPath () | |
setMixed ($mixed) | |
getMixed () | |
getJSONEncode () |
Protected Attributes | |
$id = 0 | |
$path = "" | |
$parent_id = -1 | |
$children = array() | |
$loading_complete = false | |
$is_dir = false | |
$size = 0 | |
$modified = 0 | |
$created = 0 | |
$icon_path = "" | |
$mixed |
ilCloudFileTree class
Representation of a node (a file or a folder) in the file tree
Definition at line 13 of file class.ilCloudFileNode.php.
ilCloudFileNode::__construct | ( | $path, | |
$id | |||
) |
ilCloudFileNode::addChild | ( | $path | ) |
ilCloudFileNode::getChildrenPathes | ( | ) |
Definition at line 154 of file class.ilCloudFileNode.php.
References $children, and hasChildren().
Referenced by getJSONEncode(), and ilCloudFileTree\getSortedListOfChildren().
ilCloudFileNode::getIconPath | ( | ) |
Definition at line 248 of file class.ilCloudFileNode.php.
References $icon_path.
Referenced by ilCloudPluginFileTreeGUI\getItemHtml().
ilCloudFileNode::getId | ( | ) |
Definition at line 90 of file class.ilCloudFileNode.php.
References $id.
Referenced by ilCloudPluginFileTreeGUI\getItemHtml(), getJSONEncode(), ilCloudPluginFileTreeGUI\getLinkToFolder(), and ilCloudPluginFileTreeGUI\getLocatorHtml().
ilCloudFileNode::getIsDir | ( | ) |
Definition at line 200 of file class.ilCloudFileNode.php.
References $is_dir.
Referenced by ilCloudPluginFileTreeGUI\getItemHtml(), and getJSONEncode().
ilCloudFileNode::getJSONEncode | ( | ) |
Definition at line 273 of file class.ilCloudFileNode.php.
References getChildrenPathes(), getId(), getIsDir(), getLoadingComplete(), getParentId(), getPath(), and getSize().
ilCloudFileNode::getLoadingComplete | ( | ) |
Definition at line 106 of file class.ilCloudFileNode.php.
References $loading_complete.
Referenced by getJSONEncode().
ilCloudFileNode::getMixed | ( | ) |
ilCloudFileNode::getModified | ( | ) |
Definition at line 232 of file class.ilCloudFileNode.php.
References $modified.
Referenced by ilCloudPluginFileTreeGUI\getItemHtml().
ilCloudFileNode::getParentId | ( | ) |
Definition at line 184 of file class.ilCloudFileNode.php.
References $parent_id.
Referenced by getJSONEncode(), ilCloudPluginFileTreeGUI\getLinkToFolder(), and ilCloudPluginFileTreeGUI\getLocatorHtml().
ilCloudFileNode::getPath | ( | ) |
Definition at line 122 of file class.ilCloudFileNode.php.
References $path.
Referenced by ilCloudPluginFileTreeGUI\getItemHtml(), getJSONEncode(), ilCloudPluginFileTreeGUI\getLinkToFolder(), and ilCloudPluginFileTreeGUI\getLocatorHtml().
ilCloudFileNode::getSize | ( | ) |
Definition at line 216 of file class.ilCloudFileNode.php.
References $size.
Referenced by ilCloudPluginFileTreeGUI\getItemHtml(), and getJSONEncode().
ilCloudFileNode::hasChildren | ( | ) |
Definition at line 167 of file class.ilCloudFileNode.php.
Referenced by getChildrenPathes().
ilCloudFileNode::removeChild | ( | $path | ) |
ilCloudFileNode::setIconPath | ( | $path | ) |
ilCloudFileNode::setId | ( | $id | ) |
$id |
Definition at line 82 of file class.ilCloudFileNode.php.
References $id.
Referenced by __construct().
ilCloudFileNode::setIsDir | ( | $is_dir | ) |
ilCloudFileNode::setLoadingComplete | ( | $complete | ) |
bool | $complete |
Definition at line 98 of file class.ilCloudFileNode.php.
ilCloudFileNode::setMixed | ( | $mixed | ) |
ilCloudFileNode::setModified | ( | $modified | ) |
$modified |
Definition at line 224 of file class.ilCloudFileNode.php.
References $modified.
ilCloudFileNode::setParentId | ( | $id | ) |
ilCloudFileNode::setPath | ( | $path = "/" | ) |
string | $path |
Definition at line 114 of file class.ilCloudFileNode.php.
References $path, and ilCloudUtil\normalizePath().
Referenced by __construct().
ilCloudFileNode::setSize | ( | $size | ) |
|
protected |
Definition at line 33 of file class.ilCloudFileNode.php.
Referenced by getChildrenPathes().
|
protected |
Definition at line 58 of file class.ilCloudFileNode.php.
|
protected |
Definition at line 63 of file class.ilCloudFileNode.php.
Referenced by getIconPath().
|
protected |
Definition at line 18 of file class.ilCloudFileNode.php.
Referenced by __construct(), getId(), setId(), and setParentId().
|
protected |
Definition at line 43 of file class.ilCloudFileNode.php.
Referenced by getIsDir(), and setIsDir().
|
protected |
Definition at line 38 of file class.ilCloudFileNode.php.
Referenced by getLoadingComplete().
|
protected |
Definition at line 68 of file class.ilCloudFileNode.php.
Referenced by getMixed(), and setMixed().
|
protected |
Definition at line 53 of file class.ilCloudFileNode.php.
Referenced by getModified(), and setModified().
|
protected |
Definition at line 28 of file class.ilCloudFileNode.php.
Referenced by getParentId().
|
protected |
Definition at line 23 of file class.ilCloudFileNode.php.
Referenced by __construct(), addChild(), getPath(), removeChild(), setIconPath(), and setPath().
|
protected |
Definition at line 48 of file class.ilCloudFileNode.php.