|
Moodle APIs 4.2
Moodle 4.2.7 (Build: 20240422)
|
List of deprecated mod_quiz functions. More...
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_completion_check_min_attempts ($userid, $quiz) | |
| Internal function used in quiz_get_completion_state. | |
| quiz_completion_check_passing_grade_or_all_attempts ($course, $cm, $userid, $quiz) | |
| Internal function used in quiz_get_completion_state. | |
| quiz_get_completion_state ($course, $cm, $userid, $type) | |
| Obtains the automatic completion state for this quiz on any conditions in quiz settings, such as if all attempts are used or a certain grade is achieved. | |
| 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. | |
List of deprecated mod_quiz functions.