Public Member Functions |
| StudipRangeTree ($args) |
| init () |
| initEntries () |
| getAdminRange ($item_id) |
| getNextLink ($item_id) |
| getSemIds ($item_id, $ids_from_kids=false) |
| getNumEntries ($item_id, $num_entries_from_kids=false) |
| InsertItem ($item_id, $parent_id, $item_name, $priority, $studip_object, $studip_object_id) |
| UpdateItem ($item_name, $studip_object, $studip_object_id, $item_id) |
| DeleteItems ($items_to_delete) |
| TreeAbstract () |
| storeItem ($item_id, $parent_id, $name, $priority) |
| 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, $depth=false, $delimeter=">") |
| getMaxPriority ($parent_id) |
| getNumEntriesKids ($item_id, $in_recursion=false) |
| getValue ($item_id, $field) |
Additional Inherited Members |
| GetInstance ($class_name, $args=null, $invalidate_cache=false) |
Member Function Documentation
DeleteItems |
( |
|
$items_to_delete | ) |
|
getAdminRange |
( |
|
$item_id | ) |
|
Returns Stud.IP range_id of the next "real" object
This function finds the next item wich is a real Stud.IP Object, either an "Einrichtung" or a "Fakultaet"
useful for the user rights management public
- Parameters
-
- Returns
- array of primary keys from table "institute"
returns the next item_id upwards the tree which is a Stud.IP object
help function for getAdminRange()
private
- Parameters
-
- Returns
- string
getNumEntries |
( |
|
$item_id, |
|
|
|
$num_entries_from_kids = false |
|
) |
| |
getSemIds |
( |
|
$item_id, |
|
|
|
$ids_from_kids = false |
|
) |
| |
initializes the tree
stores all rows from table range_tree in array $tree_data public
Reimplemented from TreeAbstract.
InsertItem |
( |
|
$item_id, |
|
|
|
$parent_id, |
|
|
|
$item_name, |
|
|
|
$priority, |
|
|
|
$studip_object, |
|
|
|
$studip_object_id |
|
) |
| |
UpdateItem |
( |
|
$item_name, |
|
|
|
$studip_object, |
|
|
|
$studip_object_id, |
|
|
|
$item_id |
|
) |
| |
Field Documentation
The documentation for this class was generated from the following file: