Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 ()
 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 (   $args)

Constructor public

Parameters
arraythe eval's ID (optional - if not given, it must be in $_REQUEST).

Here is the call graph for this function:

& getGroupObject (   $item_id,
  $renew = false 
)

Here is the call graph for this function:

init ( )

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

Reimplemented from TreeAbstract.

Here is the call graph for this function:

recursiveInit (   $group)

initialize the sub-groups.

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

object Evaluation $eval

Holds the Evaluation object public

string $evalID

Holds the Evaluation ID public

integer $load_mode

Holds the eval constructor load mode public


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