Stud.IP  jlu_3.3 Revision
EvaluationTree Class Reference
Inheritance diagram for EvaluationTree:
Inheritance graph
Collaboration diagram for EvaluationTree:
Collaboration graph

Public Member Functions

 EvaluationTree ( $args)
 
 init ()
 
 recursiveInit ( $group)
 
getGroupObject ($item_id, $renew=false)
 
- Public Member Functions inherited from TreeAbstract
 TreeAbstract ()
 
 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)
 

Data Fields

 $eval
 
 $evalID
 
 $load_mode
 
- Data Fields inherited from TreeAbstract
 $root_name
 
 $view
 
 $tree_data = array()
 
 $tree_childs = array()
 
 $tree_num_childs = array()
 
 $index_offset = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from TreeAbstract
 GetInstance ($class_name, $args=null, $invalidate_cache=false)
 

Member Function Documentation

◆ EvaluationTree()

EvaluationTree (   $args)

Constructor @access public

Parameters
arraythe eval's ID (optional - if not given, it must be in $_REQUEST).
Here is the call graph for this function:

◆ getGroupObject()

& getGroupObject (   $item_id,
  $renew = false 
)
Here is the call graph for this function:

◆ init()

init ( )

initializes the tree store rows from evaluation tables in array $tree_data @access public

Reimplemented from TreeAbstract.

Here is the call graph for this function:

◆ recursiveInit()

recursiveInit (   $group)

initialize the sub-groups.

@access private

Parameters
objectEvaluationGroup the current group to be initialized.
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ $eval

object Evaluation $eval

Holds the Evaluation object @access public

◆ $evalID

string $evalID

Holds the Evaluation ID @access public

◆ $load_mode

integer $load_mode

Holds the eval constructor load mode @access public


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