Stud.IP  4.2 Revision
EvaluationTreeShowUser Class Reference
Collaboration diagram for EvaluationTreeShowUser:
Collaboration graph

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
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $evalID)

constructor public

Parameters
stringthe eval's ID
Here is the call graph for this function:

Member Function Documentation

◆ getGroupContent()

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()

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()

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()

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()

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 call graph for this function:
Here is the caller graph for this function:

◆ showTree()

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

◆ $anchor

string $anchor

contains the item with the current html anchor (currently unused)

public

◆ $start_item_id

string $start_item_id

the item to start with

private

◆ $tree

object EvaluationTree $tree

Reference to the tree structure

private


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