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);
An exception for terminatinating execution or to throw for unit testing.
Interface for tree implementations Currrently nested set or materialize path.
validateParentRelations()
Validate the parent relations of the tree implementation For nested set, validate the lft,...
getSubtreeInfo($a_endnode_id)
Get subtree info lft, rgt, path, child, type.
moveTree($a_source_id, $a_target_id, $a_position)
Move a source subtree to target.
moveToTrash($a_node_id)
Move subtree to trash.
getSubTreeIds($a_node_id)
Get subtree ids for a specific node.
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.
getRelation($a_node_a, $a_node_b)
Get relation of two nodes.
deleteTree($a_node_id)
Delete tree.
insertNode($a_node_id, $a_parent_id, $a_pos)