| 
    Stud.IP
    jlu_3.3 Revision
    
   | 
  


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 @access 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
@access 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
@access public
| boolean | $as_value_list | 

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

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


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


| getInstKids | ( | $as_value_list = false | ) | 
Returns all tree items which are kids of this object and are Stud.IP "Einrichtungen"
@access 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 @access 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) @abstract @access private

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

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