public function QuizQuestionResponse::getReportFormResponse in Quiz 6.4
Same name and namespace in other branches
- 7 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReportFormResponse()
- 7.4 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReportFormResponse()
Get the response part of the report form
Parameters
$showpoints:
$showfeedback:
$allow_scoring:
Return value
FAPI form array holding the response part
1 call to QuizQuestionResponse::getReportFormResponse()
- QuizQuestionResponse::getReportForm in question_types/
quiz_question/ quiz_question.core.inc - Creates the report form for the admin pages, and for when a user gets feedback after answering questions.
6 methods override QuizQuestionResponse::getReportFormResponse()
- LongAnswerResponse::getReportFormResponse in question_types/
long_answer/ long_answer.classes.inc - Implementation of getReportFormResponse
- MatchingResponse::getReportFormResponse in question_types/
matching/ matching.classes.inc - Implementation of getReportFormResponse
- MultichoiceResponse::getReportFormResponse in question_types/
multichoice/ multichoice.classes.inc - Implementation of getReportFormResponse
- ScaleResponse::getReportFormResponse in question_types/
scale/ scale.classes.inc - Implementation of getReportFormResponse
- ShortAnswerResponse::getReportFormResponse in question_types/
short_answer/ short_answer.classes.inc - Implementation of getReportFormResponse
File
- question_types/
quiz_question/ quiz_question.core.inc, line 877 - Classes used in the Quiz Question module.
Class
- QuizQuestionResponse
- Each question type must store its own response data and be able to calculate a score for that data.
Code
public function getReportFormResponse($showpoints = TRUE, $showfeedback = TRUE, $allow_scoring = FALSE) {
return array(
'#type' => 'markup',
'#value' => '',
);
}