ILIAS
Release_5_0_x_branch Revision 61816
|
Interface for tree implementations Currrently nested set or materialize path. More...
Public Member Functions | |
getSubTreeIds ($a_node_id) | |
Get subtree ids for a specific node. | |
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. | |
getPathIds ($a_endnode, $a_startnode=0) | |
Get path ids from a startnode to a given endnode. | |
insertNode ($a_node_id, $a_parent_id, $a_pos) | |
deleteTree ($a_node_id) | |
Delete tree. | |
moveToTrash ($a_node_id) | |
Move subtree to trash. | |
moveTree ($a_source_id, $a_target_id, $a_position) | |
Move a source subtree to target. | |
getSubtreeInfo ($a_endnode_id) | |
Get subtree info lft, rgt, path, child, type. |
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 ilNestedSetTree, and ilMaterializedPathTree.
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 ilNestedSetTree, and ilMaterializedPathTree.
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 ilNestedSetTree, and ilMaterializedPathTree.
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 ilNestedSetTree, and ilMaterializedPathTree.