Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
EvalShow Class Reference

Public Member Functions

 createEvaluationHeader ($eval, $votedNow, $votedEarlier)
 
 createEvaluation ($tree)
 
 createEvalMetaInfo ($eval, $votedNow=NO, $votedEarlier=NO)
 
 getNumberOfVotesText ($eval, $voted)
 
 getStopdateText ($eval, $voted)
 
 getAnonymousText ($eval, $voted)
 
 createEvaluationFooter ($eval, $voted, $isPreview)
 
 createVoteButton ($eval)
 
 createEditButton ($eval)
 
 createOverviewButton ($rangeID, $evalID)
 
 createDeleteButton ($eval)
 
 createStopButton ($eval)
 
 createContinueButton ($eval)
 
 createExportButton ($eval)
 
 createReportButton ($eval)
 

Member Function Documentation

createContinueButton (   $eval)
createDeleteButton (   $eval)
createEditButton (   $eval)
createEvalMetaInfo (   $eval,
  $votedNow = NO,
  $votedEarlier = NO 
)

create html for the meta-information about an evaluation.

Parameters
Object$evalThe evaluation
bool$isAssociatedwhether the current user has used the eval
Returns
String a table row
createEvaluation (   $tree)

createEvaluation: generate the evaluation itself (questions and answers)

Parameters
theevaluation
Returns
a table row
createEvaluationFooter (   $eval,
  $voted,
  $isPreview 
)

createEvaluationFooter: generate the foot of an evaluation (buttons etc.)

Parameters
theevaluation
Returns
a table row
createEvaluationHeader (   $eval,
  $votedNow,
  $votedEarlier 
)

createEvaluationHeader: generate the head of an evaluation (title and base text)

Parameters
theevaluation
Returns
a table row
createExportButton (   $eval)
createOverviewButton (   $rangeID,
  $evalID 
)
createReportButton (   $eval)
createStopButton (   $eval)
createVoteButton (   $eval)
getAnonymousText (   $eval,
  $voted 
)
getNumberOfVotesText (   $eval,
  $voted 
)
getStopdateText (   $eval,
  $voted 
)

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