public function QuizQuestionResponse::getReport in Quiz 6.3
Same name and namespace in other branches
- 6.6 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReport()
- 6.4 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReport()
- 6.5 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReport()
- 7.6 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReport()
- 7 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReport()
- 7.4 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReport()
- 7.5 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReport()
Get data suitable for reporting a user's score on the question. This expects an object with the following attributes:
answer_id; // The answer ID answer; // The full text of the answer is_evaluated; // 0 if the question has not been evaluated, 1 if it has score; // The score the evaluator gave the user; this should be 0 if is_evaluated is 0. question_vid question_nid result_id
1 method overrides QuizQuestionResponse::getReport()
- AbstractQuizQuestionResponse::getReport in question_types/
quiz_question/ quiz_question.core.inc - Get data suitable for reporting a user's score on the question. This expects an object with the following attributes:
File
- question_types/
quiz_question/ quiz_question.core.inc, line 180 - 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 getReport();