Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
StudipStmInstancesTree Class Reference
Inheritance diagram for StudipStmInstancesTree:
Inheritance graph
Collaboration diagram for StudipStmInstancesTree:
Collaboration graph

Public Member Functions

 StudipStmInstancesTree ($args)
 init ()
 initEntries ()
 storeItem ($item_id, $parent_id, $name, $priority)
 getStmIds ($item_id, $ids_from_kids=false)
- Public Member Functions inherited from TreeAbstract
 TreeAbstract ()
 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)
 getNumEntries ($item_id, $num_entries_from_kids=false)
 getNumEntriesKids ($item_id, $in_recursion=false)
 getValue ($item_id, $field)

Additional Inherited Members

- Static Public Member Functions inherited from TreeAbstract
 GetInstance ($class_name, $args=null, $invalidate_cache=false)
- Data Fields inherited from TreeAbstract
 $root_name
 $view
 $tree_data = array()
 $tree_childs = array()
 $tree_num_childs = array()
 $index_offset = 0

Member Function Documentation

getStmIds (   $item_id,
  $ids_from_kids = false 
)

Here is the call graph for this function:

init ( )

initializes the tree

stores all rows from table sem_tree in array $tree_data public

Reimplemented from TreeAbstract.

Here is the call graph for this function:

initEntries ( )
storeItem (   $item_id,
  $parent_id,
  $name,
  $priority 
)

store one item in tree_data array

store one item in tree_data array public

Parameters
string$item_id
string$parent_id
string$name
integer$priority

Reimplemented from TreeAbstract.

Here is the caller graph for this function:

constructor

do not use directly, call TreeAbstract::GetInstance("StudipRangeTree") private

Here is the call graph for this function:


The documentation for this class was generated from the following file: