| Moodle APIs 4.3
    Moodle 4.3.6 (Build: 20240812) | 
| Classes | |
| class | mod_quiz_overdue_attempt_updater | 
| class | moodle_quiz_exception | 
| Class for quiz exceptions.  More... | |
| Functions | |
| quiz_calculate_best_attempt ($quiz, $attempts) | |
| Return the attempt with the best grade for a quiz. | |
| quiz_calculate_best_grade ($quiz, $attempts) | |
| Calculate the overall grade for a quiz given a number of attempts by a particular user. | |
| quiz_get_completion_state () | |
| quiz_has_question_use ($quiz, $slot) | |
| Verify that the question exists, and the user has permission to use it. | |
| quiz_retrieve_tags_for_slot_ids ($slotids) | |
| Retrieves tag information for the given list of quiz slot ids. | |
| quiz_save_best_grade ($quiz, $userid=null, $attempts=[]) | |
| Save the overall grade for a user at a quiz in the quiz_grades table. | |
| quiz_set_grade ($newgrade, $quiz) | |
| The quiz grade is the maximum that student's results are marked out of. | |
| quiz_update_all_attempt_sumgrades ($quiz) | |
| Update the sumgrades field of the attempts at a quiz. | |
| quiz_update_all_final_grades ($quiz) | |
| Update the final grade at this quiz for all students. | |
| quiz_update_sumgrades ($quiz) | |
| Update the sumgrades field of the quiz. | |