Public Member Functions |
| StudipSemTree ($args) |
| init () |
| initEntries () |
| isModuleItem ($item_id) |
| getSemIds ($item_id, $ids_from_kids=false) |
| getSemData ($item_id, $sem_data_from_kids=false) |
| getLonelySemData ($item_id) |
| getNumEntries ($item_id, $num_entries_from_kids=false) |
| getAdminRange ($item_id) |
| InsertItem ($item_id, $parent_id, $item_name, $item_info, $priority, $studip_object_id, $type) |
| UpdateItem ($item_id, $item_name, $item_info, $type) |
| DeleteItems ($items_to_delete) |
| DeleteSemEntries ($item_ids=null, $sem_entries=null) |
| InsertSemEntry ($sem_tree_id, $seminar_id) |
| 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 | ) |
|
DeleteSemEntries |
( |
|
$item_ids = null , |
|
|
|
$sem_entries = null |
|
) |
| |
getAdminRange |
( |
|
$item_id | ) |
|
getLonelySemData |
( |
|
$item_id | ) |
|
getNumEntries |
( |
|
$item_id, |
|
|
|
$num_entries_from_kids = false |
|
) |
| |
getSemData |
( |
|
$item_id, |
|
|
|
$sem_data_from_kids = false |
|
) |
| |
getSemIds |
( |
|
$item_id, |
|
|
|
$ids_from_kids = false |
|
) |
| |
initializes the tree
stores all rows from table sem_tree in array $tree_data public
Reimplemented from TreeAbstract.
InsertItem |
( |
|
$item_id, |
|
|
|
$parent_id, |
|
|
|
$item_name, |
|
|
|
$item_info, |
|
|
|
$priority, |
|
|
|
$studip_object_id, |
|
|
|
$type |
|
) |
| |
InsertSemEntry |
( |
|
$sem_tree_id, |
|
|
|
$seminar_id |
|
) |
| |
UpdateItem |
( |
|
$item_id, |
|
|
|
$item_name, |
|
|
|
$item_info, |
|
|
|
$type |
|
) |
| |
Field Documentation
$enable_lonely_sem = true |
The documentation for this class was generated from the following file: