Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
quiz_has_questions ($quizid) | |
Are there any questions in this quiz? | |
quiz_no_questions_message ($quiz, $cm, $context) | |
Generate a message saying that this quiz has no questions, with a button to go to the edit page, if the user has the right capability. | |
quiz_report_can_filter_only_graded ($quiz) | |
quiz_report_default_report ($context) | |
Get the default report for the current user. | |
quiz_report_download_filename ($report, $courseshortname, $quizname) | |
Create a filename for use when downloading data from a quiz report. | |
quiz_report_feedback_for_grade ($grade, $quizid, $context) | |
Get the feedback text for a grade on this quiz. | |
quiz_report_get_significant_questions ($quiz) | |
Get the slots of real questions (not descriptions) in this quiz, in order. | |
quiz_report_grade_bands ($bandwidth, $bands, $quizid, core\dml\sql_join $usersjoins=null) | |
Get the number of students whose score was in a particular band for this quiz. | |
quiz_report_grade_method_sql ($grademethod, $quizattemptsalias='quiza') | |
Given a quiz grading method return sql to test if this is an attempt that will be contribute towards the grade of the user. | |
quiz_report_highlighting_grading_method ($quiz, $qmsubselect, $qmfilter) | |
quiz_report_index_by_keys ($datum, $keys, $keysunique=true) | |
Takes an array of objects and constructs a multidimensional array keyed by the keys it finds on the object. | |
quiz_report_list ($context) | |
Returns an array of reports to which the current user has access to. | |
quiz_report_qm_filter_select ($quiz, $quizattemptsalias='quiza') | |
This is a wrapper for quiz_report_grade_method_sql that takes the whole quiz object instead of just the grading method as a param. | |
quiz_report_scale_summarks_as_percentage ($rawmark, $quiz, $round=true) | |
Format a number as a percentage out of $quiz->sumgrades. | |
quiz_report_should_show_grades ($quiz, context $context) | |
Should the grades be displayed in this report. | |
quiz_report_unindex ($datum) | |