function quiz_get_feedback in Quiz 6.3
Same name and namespace in other branches
- 5.2 quiz.module \quiz_get_feedback()
- 6.6 quiz.module \quiz_get_feedback()
- 6.2 quiz.module \quiz_get_feedback()
- 6.5 quiz.module \quiz_get_feedback()
Get feedback for one question.
Good for displaying feedback after every question instead of all at the end.
Parameters
$quiz: The quiz node.
$report: The question node and its calculated results.
Return value
Themed feedback for output.
1 call to quiz_get_feedback()
- quiz_take_quiz in ./
quiz.module - Handles quiz taking.
File
- ./
quiz.module, line 1470 - Quiz Module
Code
function quiz_get_feedback($quiz, $report) {
return theme('quiz_single_question_feedback', $quiz, $report);
}