public function ClozeResponse::getReportFormScore in Cloze 7
Same name and namespace in other branches
- 6 cloze.classes.inc \ClozeResponse::getReportFormScore()
Implementation of getReportFormScore()
See also
QuizQuestionResponse#getReportFormScore($showpoints, $showfeedback, $allow_scoring)
File
- ./
cloze.classes.inc, line 434 - The main classes for the cloze question type. These inherit or implement code found in quiz_question.classes.inc.
Class
- ClozeResponse
- Extension of QuizQuestionResponse
Code
public function getReportFormScore($showfeedback = TRUE, $showpoints = TRUE, $allow_scoring = FALSE) {
return array(
'#markup' => $this
->getScore(),
);
}