ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($table="tree", $fields=array()) | |
_get_node ($id) | |
_get_children ($id, $recursive=false) | |
_get_path ($id) | |
_create ($parent, $position) | |
_remove ($id) | |
_move ($id, $ref_id, $position=0, $is_copy=false) | |
_fix_copy ($id, $position) | |
_reconstruct () | |
_analyze () | |
_dump ($output=false) | |
_drop () | |
Protected Attributes | |
$table = "" | |
$fields | |
Definition at line 2 of file class.tree.php.
_tree_struct::__construct | ( | $table = "tree" , |
|
$fields = array() |
|||
) |
Definition at line 15 of file class.tree.php.
References $fields, $key, $table, and fields.
_tree_struct::_analyze | ( | ) |
Definition at line 387 of file class.tree.php.
References $n, array, and fields.
_tree_struct::_create | ( | $parent, | |
$position | |||
) |
Definition at line 64 of file class.tree.php.
References _move().
_tree_struct::_drop | ( | ) |
Definition at line 455 of file class.tree.php.
Referenced by json_tree\_create_default().
_tree_struct::_dump | ( | $output = false | ) |
Definition at line 440 of file class.tree.php.
References $output, array, and fields.
_tree_struct::_fix_copy | ( | $id, | |
$position | |||
) |
Definition at line 241 of file class.tree.php.
References $i, $id, _get_children(), _get_node(), array, and fields.
Referenced by _move().
_tree_struct::_get_children | ( | $id, | |
$recursive = false |
|||
) |
Definition at line 43 of file class.tree.php.
References $id, _get_node(), array, and fields.
Referenced by _fix_copy(), _move(), json_tree\get_children(), and json_tree\move_node().
_tree_struct::_get_node | ( | $id | ) |
Definition at line 38 of file class.tree.php.
Referenced by _fix_copy(), _get_children(), _get_path(), _move(), and _remove().
_tree_struct::_get_path | ( | $id | ) |
Definition at line 55 of file class.tree.php.
References $id, $path, _get_node(), array, and fields.
_tree_struct::_move | ( | $id, | |
$ref_id, | |||
$position = 0 , |
|||
$is_copy = false |
|||
) |
Definition at line 103 of file class.tree.php.
References $id, _fix_copy(), _get_children(), _get_node(), array, and fields.
Referenced by _create().
_tree_struct::_reconstruct | ( | ) |
Definition at line 261 of file class.tree.php.
References $counter, $fields, and fields.
_tree_struct::_remove | ( | $id | ) |
Definition at line 67 of file class.tree.php.
References $data, $id, _get_node(), and fields.
|
protected |
Definition at line 5 of file class.tree.php.
Referenced by __construct(), json_tree\__construct(), and _reconstruct().
|
protected |
Definition at line 4 of file class.tree.php.
Referenced by __construct(), and json_tree\__construct().