ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
interface.ilTreeImplementation.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
15 {
16 
23  public function getSubTreeIds($a_node_id);
24 
30  public function getSubTreeQuery($a_node, $a_types = '', $a_force_join_reference = true, $a_fields = array());
31 
40  public function getRelation($a_node_a, $a_node_b);
41 
47  public function getPathIds($a_endnode, $a_startnode = 0);
48 
49 
50  public function insertNode($a_node_id, $a_parent_id, $a_pos);
51 
56  public function deleteTree($a_node_id);
57 
58 
63  public function moveToTrash($a_node_id);
64 
65 
72  public function moveTree($a_source_id, $a_target_id, $a_position);
73 
74 
79  public function getSubtreeInfo($a_endnode_id);
80 
81 
88  public function validateParentRelations();
89 }
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)