|
Stud.IP
2.4 Revision 48548
|


Public Member Functions | |
| RangeTreeObject ($item_id) | |
| getAllItemKids ($as_value_list=false) | |
| getAllObjectKids ($as_value_list=false) | |
| getInstKids ($as_value_list=false) | |
| getFakKids ($as_value_list=false) | |
| getAdminRange () | |
| isInCorrectBranch () | |
| getItemPath () | |
| initItemDetail () | |
| fetchCategories () | |
| & | getCategories () |
| fetchNumStaff () | |
| getNumStaff () | |
| getValueList ($list) | |
Static Public Member Functions | |
| GetInstance ($item_id) | |
Data Fields | |
| $tree_item_id | |
| $tree | |
| $item_data = null | |
| $item_data_mapping = null | |
| fetchCategories | ( | ) |
fetch categories of this object from database
the categories are appended to the $item_data array, key 'categories', value is object of type DbSnapshot private

| fetchNumStaff | ( | ) |

| getAdminRange | ( | ) |
Returns array of Stud.IP range_ids of "real" objects
This function is a wrapper for the according function in StudipRangeTree
| getAllItemKids | ( | $as_value_list = false | ) |
Returns all tree items which are kids of this object
public
| boolean | $as_value_list |

| getAllObjectKids | ( | $as_value_list = false | ) |
Returns all tree items which are kids of this object and are "real" Stud.IP objects
public
| boolean | $as_value_list |

| & getCategories | ( | ) |
getter method for categories of this object
public

| getFakKids | ( | $as_value_list = false | ) |
Returns all tree items which are kids of this object and are Stud.IP "Fakultaeten"
public
| boolean | $as_value_list |


|
static |
Factory method
public
| string | $item_id |

| getInstKids | ( | $as_value_list = false | ) |
Returns all tree items which are kids of this object and are Stud.IP "Einrichtungen"
public
| boolean | $as_value_list |


| getItemPath | ( | ) |
Returns tree path of the current object
This function is a wrapper for the according function in StudipRangeTree
| getNumStaff | ( | ) |

| getValueList | ( | $list | ) |
transform numerical array into a comma separated string
the result could be used in a SQL query private
| array | $list |

| initItemDetail | ( | ) |
extends the $item_data array
This function fills the $item_data array with fields from the according database table (is of no use in the base class) private

| isInCorrectBranch | ( | ) |
Only useful in RangeTreeObjectInst ,all other items are always in the correct branch
public
Reimplemented in RangeTreeObjectInst.
| RangeTreeObject | ( | $item_id | ) |
Constructor
Do not use directly, call factory method instead private
| string | $item_id |


| array $item_data = null |
associative array with data from database fields
public
| array $item_data_mapping = null |
associative array with mapping for database fields
public
| object StudipRangeTree $tree |
References the tree object
private
| string $tree_item_id |
item_id in range_tree
public