30 public function getSubTreeQuery($a_node, $a_types =
'', $a_force_join_reference =
true, $a_fields =
array());
47 public function getPathIds($a_endnode, $a_startnode = 0);
50 public function insertNode($a_node_id, $a_parent_id, $a_pos);
72 public function moveTree($a_source_id, $a_target_id, $a_position);
getSubtreeInfo($a_endnode_id)
Get subtree info lft, rgt, path, child, type.
moveToTrash($a_node_id)
Move subtree to trash.
validateParentRelations()
Validate the parent relations of the tree implementation For nested set, validate the lft...
getPathIds($a_endnode, $a_startnode=0)
Get path ids from a startnode to a given endnode.
getSubTreeQuery($a_node, $a_types='', $a_force_join_reference=true, $a_fields=array())
Get subtree.
Create styles array
The data for the language used.
deleteTree($a_node_id)
Delete tree.
getSubTreeIds($a_node_id)
Get subtree ids for a specific node.
moveTree($a_source_id, $a_target_id, $a_position)
Move a source subtree to target.
getRelation($a_node_a, $a_node_b)
Get relation of two nodes.
Interface for tree implementations Currrently nested set or materialize path.
insertNode($a_node_id, $a_parent_id, $a_pos)