public function ScaleResponse::getReportFormResponse in Quiz 7
Same name and namespace in other branches
- 6.4 question_types/scale/scale.classes.inc \ScaleResponse::getReportFormResponse()
- 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 627 - 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(
'#markup' => check_plain($this->answer),
);
return $form;
}