|
Stud.IP
2.4 Revision 48548
|


Public Member Functions | |
| StudipStmInstancesTree ($args) | |
| init () | |
| initEntries () | |
| storeItem ($item_id, $parent_id, $name, $priority) | |
| getStmIds ($item_id, $ids_from_kids=false) | |
Public Member Functions inherited from TreeAbstract | |
| TreeAbstract () | |
| buildIndex ($item_id=false) | |
| getKids ($item_id) | |
| getNumKids ($item_id) | |
| getKidsKids ($item_id, $in_recursion=false) | |
| getNumKidsKids ($item_id, $in_recursion=false) | |
| isLastKid ($item_id) | |
| isFirstKid ($item_id) | |
| isChildOf ($ancestor_id, $item_id) | |
| hasKids ($item_id) | |
| getItemPath ($item_id) | |
| getParents ($item_id) | |
| getShortPath ($item_id, $length=null, $delimeter=">", $offset=0) | |
| getMaxPriority ($parent_id) | |
| getNumEntries ($item_id, $num_entries_from_kids=false) | |
| getNumEntriesKids ($item_id, $in_recursion=false) | |
| getValue ($item_id, $field) | |
Additional Inherited Members | |
Static Public Member Functions inherited from TreeAbstract | |
| GetInstance ($class_name, $args=null, $invalidate_cache=false) | |
Data Fields inherited from TreeAbstract | |
| $root_name | |
| $view | |
| $tree_data = array() | |
| $tree_childs = array() | |
| $tree_num_childs = array() | |
| $index_offset = 0 | |
| getStmIds | ( | $item_id, | |
$ids_from_kids = false |
|||
| ) |

| init | ( | ) |
initializes the tree
stores all rows from table sem_tree in array $tree_data public
Reimplemented from TreeAbstract.

| initEntries | ( | ) |
| storeItem | ( | $item_id, | |
| $parent_id, | |||
| $name, | |||
| $priority | |||
| ) |
store one item in tree_data array
store one item in tree_data array public
| string | $item_id | |
| string | $parent_id | |
| string | $name | |
| integer | $priority |
Reimplemented from TreeAbstract.

| StudipStmInstancesTree | ( | $args | ) |
constructor
do not use directly, call TreeAbstract::GetInstance("StudipRangeTree") private
