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

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

Member Function Documentation

EvaluationTreeShowUser (   $evalID)

constructor public

Parameters
stringthe eval's ID

Here is the call graph for this function:

getGroupContent (   $group)

returns html for the content of a group

private

Parameters
objectEvaluationGroup the group object.
Returns
string

Here is the call graph for this function:

Here is the caller graph for this function:

getQuestionContent (   $question,
  $group 
)

returns html for a question and its answers

private

Parameters
objectEvaluationQuestion the question object.
objectEvaluationGroup the question's parent-group object.
Returns
string

Here is the call graph for this function:

Here is the caller graph for this function:

printItemDetails (   $group)

prints out the details for a group

private

Parameters
objectEvaluationGroup the group object.

Here is the call graph for this function:

Here is the caller graph for this function:

printItemOutput (   $group_id)

prints out one group

private

Parameters
stringID of the item to print (which is an EvaluationGroup).

Here is the call graph for this function:

Here is the caller graph for this function:

printLevelOutput (   $group_id)

prints out ... hmm ... the group's level indentation space, and a table start

private

Parameters
stringID of the item (which is an EvaluationGroup) to print the space for.

Here is the caller graph for this function:

showTree (   $item_id = "root")

prints out the tree beginning with a given item

public

Parameters
stringID of the start item, shouldnt be needed.

Here is the call graph for this function:

Field Documentation

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


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