Stud.IP  5.4
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()

createContinueButton (   $eval)

◆ createDeleteButton()

createDeleteButton (   $eval)

◆ createEditButton()

createEditButton (   $eval)

◆ createEvalMetaInfo()

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

createEvaluation (   $tree)

createEvaluation: generate the evaluation itself (questions and answers)

Parameters
theevaluation
Returns
a table row

◆ createEvaluationFooter()

createEvaluationFooter (   $eval,
  $voted,
  $isPreview 
)

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

Parameters
theevaluation
Returns
a table row

◆ createEvaluationHeader()

createEvaluationHeader (   $eval,
  $votedNow,
  $votedEarlier 
)

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

Parameters
theevaluation
Returns
a table row

◆ createExportButton()

createExportButton (   $eval)

◆ createOverviewButton()

createOverviewButton (   $rangeID,
  $evalID 
)

◆ createReportButton()

createReportButton (   $eval)

◆ createStopButton()

createStopButton (   $eval)

◆ createVoteButton()

createVoteButton (   $eval)

◆ getAnonymousText()

getAnonymousText (   $eval,
  $voted 
)

◆ getNumberOfVotesText()

getNumberOfVotesText (   $eval,
  $voted 
)

◆ getStopdateText()

getStopdateText (   $eval,
  $voted 
)

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