You are here

public function ScaleResponse::getReportFormResponse in Quiz 6.4

Same name and namespace in other branches
  1. 7 question_types/scale/scale.classes.inc \ScaleResponse::getReportFormResponse()
  2. 7.4 question_types/scale/scale.classes.inc \ScaleResponse::getReportFormResponse()

Implementation of getReportFormResponse

Overrides QuizQuestionResponse::getReportFormResponse

See also

getReportFormResponse($showpoints, $showfeedback, $allow_scoring)

File

question_types/scale/scale.classes.inc, line 589
The main classes for the scale question type.

Class

ScaleResponse
Extension of QuizQuestionResponse

Code

public function getReportFormResponse($showpoints = TRUE, $showfeedback = TRUE, $allow_scoring = FALSE) {
  $form = array();
  $form['#theme'] = 'scale_response_form';
  $form['answer'] = array(
    '#type' => 'markup',
    '#value' => check_plain($this->answer),
  );
  return $form;
}