function quiz_end_actions in Quiz 7.6
Same name and namespace in other branches
- 8.4 quiz.module \quiz_end_actions()
- 5.2 quiz.module \quiz_end_actions()
- 6.6 quiz.module \quiz_end_actions()
- 6.2 quiz.module \quiz_end_actions()
- 6.3 quiz.module \quiz_end_actions()
- 6.4 quiz.module \quiz_end_actions()
- 6.5 quiz.module \quiz_end_actions()
- 7 quiz.module \quiz_end_actions()
- 7.4 quiz.module \quiz_end_actions()
Actions to take at the end of a quiz
Parameters
$quiz: The quiz node
$result_id: Result id
$score: Score as a number
Related topics
1 call to quiz_end_actions()
- quiz_question_answering_form_finalize in question_types/
quiz_question/ quiz_question.module - Helper function to finalize a quiz attempt.
File
- ./
quiz.module, line 2023 - quiz.module Main file for the Quiz module.
Code
function quiz_end_actions($quiz, $score, $session_data) {
// Call hook_quiz_finished().
module_invoke_all('quiz_finished', $quiz, $score, $session_data);
}