| ILIAS
    release_5-4 Revision v5.4.26-12-gabc799a52e6
    | 
Interface for tree implementations Currrently nested set or materialize path. More...
 Inheritance diagram for ilTreeImplementation:
 Inheritance diagram for ilTreeImplementation: Collaboration diagram for ilTreeImplementation:
 Collaboration diagram for ilTreeImplementation:| Public Member Functions | |
| getSubTreeIds ($a_node_id) | |
| Get subtree ids for a specific node.  More... | |
| getSubTreeQuery ($a_node, $a_types='', $a_force_join_reference=true, $a_fields=array()) | |
| Get subtree.  More... | |
| getRelation ($a_node_a, $a_node_b) | |
| Get relation of two nodes.  More... | |
| getPathIds ($a_endnode, $a_startnode=0) | |
| Get path ids from a startnode to a given endnode.  More... | |
| insertNode ($a_node_id, $a_parent_id, $a_pos) | |
| deleteTree ($a_node_id) | |
| Delete tree.  More... | |
| moveToTrash ($a_node_id) | |
| Move subtree to trash.  More... | |
| moveTree ($a_source_id, $a_target_id, $a_position) | |
| Move a source subtree to target.  More... | |
| getSubtreeInfo ($a_endnode_id) | |
| Get subtree info lft, rgt, path, child, type.  More... | |
| validateParentRelations () | |
| Validate the parent relations of the tree implementation For nested set, validate the lft, rgt against child <-> parent For materialized path validate path against child <-> parent.  More... | |
Interface for tree implementations Currrently nested set or materialize path.
Definition at line 14 of file interface.ilTreeImplementation.php.
| ilTreeImplementation::deleteTree | ( | $a_node_id | ) | 
| ilTreeImplementation::getPathIds | ( | $a_endnode, | |
| $a_startnode = 0 | |||
| ) | 
Get path ids from a startnode to a given endnode.
| int | $a_endnode | |
| int | $a_startnode | 
Implemented in ilMaterializedPathTree, and ilNestedSetTree.
| ilTreeImplementation::getRelation | ( | $a_node_a, | |
| $a_node_b | |||
| ) | 
Get relation of two nodes.
| array | $a_node_a | |
| array | $a_node_b | 
Implemented in ilMaterializedPathTree, and ilNestedSetTree.
| ilTreeImplementation::getSubTreeIds | ( | $a_node_id | ) | 
Get subtree ids for a specific node.
Implemented in ilMaterializedPathTree, and ilNestedSetTree.
| ilTreeImplementation::getSubtreeInfo | ( | $a_endnode_id | ) | 
Get subtree info lft, rgt, path, child, type.
Implemented in ilMaterializedPathTree, and ilNestedSetTree.
| ilTreeImplementation::getSubTreeQuery | ( | $a_node, | |
| $a_types = '', | |||
| $a_force_join_reference = true, | |||
| $a_fields = array() | |||
| ) | 
Get subtree.
| array | $a_node | |
| mixed | $a_types | 
Implemented in ilMaterializedPathTree, and ilNestedSetTree.
| ilTreeImplementation::insertNode | ( | $a_node_id, | |
| $a_parent_id, | |||
| $a_pos | |||
| ) | 
Implemented in ilMaterializedPathTree, and ilNestedSetTree.
| ilTreeImplementation::moveToTrash | ( | $a_node_id | ) | 
Move subtree to trash.
| type | $a_node_id | 
Implemented in ilMaterializedPathTree, and ilNestedSetTree.
| ilTreeImplementation::moveTree | ( | $a_source_id, | |
| $a_target_id, | |||
| $a_position | |||
| ) | 
Move a source subtree to target.
| type | $a_source_id | |
| type | $a_target_id | |
| type | $a_position | 
Implemented in ilMaterializedPathTree, and ilNestedSetTree.
| ilTreeImplementation::validateParentRelations | ( | ) | 
Validate the parent relations of the tree implementation For nested set, validate the lft, rgt against child <-> parent For materialized path validate path against child <-> parent.
Implemented in ilMaterializedPathTree, and ilNestedSetTree.