|
| __construct ($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) |
|
| init () |
|
| 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, $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) |
|
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
- bool|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
InsertItem |
( |
|
$item_id, |
|
|
|
$parent_id, |
|
|
|
$item_name, |
|
|
|
$priority, |
|
|
|
$studip_object, |
|
|
|
$studip_object_id |
|
) |
| |
UpdateItem |
( |
|
$item_name, |
|
|
|
$studip_object, |
|
|
|
$studip_object_id, |
|
|
|
$item_id |
|
) |
| |
$entries_init_done = false |
The documentation for this class was generated from the following file: