|
Stud.IP
2.4 Revision 48548
|

Public Member Functions | |
| EvaluationTreeShowUser ($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 | |
| EvaluationTreeShowUser | ( | $evalID | ) |
constructor public
| string | the eval's ID |

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


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


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


| printItemOutput | ( | $group_id | ) |
prints out one group
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
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
public
| string | ID of the start item, shouldnt be needed. |

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