| 
    Stud.IP
    trunk Revision
    
   | 
  

Public Member Functions | |
| __construct ( $evalID) | |
| showTree ( $item_id="root") | |
| printLevelOutput ( $group_id) | |
| printItemOutput ( $group_id) | |
| printItemDetails ( $group) | |
| getGroupContent ( $group) | |
| getQuestionContent ( $question, $group) | |
Data Fields | |
| $tree | |
| $anchor | |
| $start_item_id | |
| __construct | ( | $evalID | ) | 
constructor @access public
| string | the eval's ID | 

| getGroupContent | ( | $group | ) | 
returns html for the content of a group
@access private
| object | EvaluationGroup the group object. | 


| getQuestionContent | ( | $question, | |
| $group | |||
| ) | 
returns html for a question and its answers
@access private
| object | EvaluationQuestion the question object. | 
| object | EvaluationGroup the question's parent-group object. | 


| printItemDetails | ( | $group | ) | 
prints out the details for a group
@access private
| object | EvaluationGroup the group object. | 


| printItemOutput | ( | $group_id | ) | 
prints out one group
@access private
| string | ID of the item to print (which is an EvaluationGroup). | 


| printLevelOutput | ( | $group_id | ) | 
prints out ... hmm ... the group's level indentation space, and a table start
@access private
| string | ID of the item (which is an EvaluationGroup) to print the space for. | 


| showTree | ( | $item_id = "root" | ) | 
prints out the tree beginning with a given item
@access public
| string | ID of the start item, shouldnt be needed. | 


| string $anchor | 
contains the item with the current html anchor (currently unused)
@access public
| string $start_item_id | 
the item to start with
@access private
| object EvaluationTree $tree | 
Reference to the tree structure
@access private