-
QUIZ_ATTEMPTFIRST
-
Options determining how the grades from individual attempts are combined to give
-
QUIZ_ATTEMPTLAST
-
Options determining how the grades from individual attempts are combined to give
-
quiz_calculate_best_attempt
-
Return the attempt with the best grade for a quiz
-
quiz_calculate_best_grade
-
Calculate the overall grade for a quiz given a number of attempts by a particular user.
-
quiz_create_attempt
-
Creates an object to represent a new attempt at a quiz
-
quiz_delete_attempt
-
Delete a quiz attempt.
-
quiz_feedback_for_grade
-
Get the feedback text that should be show to a student who got this grade on this quiz. The feedback is processed ready for diplay.
-
quiz_first_questionnumber
-
Returns the first question number for the current quiz page
-
quiz_get_all_question_grades
-
Creates an array of maximum grades for a quiz
-
quiz_get_best_grade
-
Get the best current grade for a particular user in a quiz.
-
quiz_get_combined_reviewoptions
-
Combines the review options from a number of different quiz attempts.
-
quiz_get_grading_options
-
-
quiz_get_grading_option_name
-
-
quiz_get_renderoptions
-
Determine render options
-
quiz_get_reviewoptions
-
Determine review options
-
quiz_get_user_attempt_unfinished
-
Returns an unfinished attempt (if there is one) for the given user on the given quiz. This function does not return preview attempts.
-
QUIZ_GRADEAVERAGE
-
Options determining how the grades from individual attempts are combined to give
-
QUIZ_GRADEHIGHEST
-
Options determining how the grades from individual attempts are combined to give
-
quiz_has_feedback
-
-
quiz_number_of_pages
-
Returns the number of pages in the quiz layout
-
quiz_parse_fieldname
-
Parse field names used for the replace options on question edit forms
-
quiz_print_navigation_panel
-
Print navigation panel for quiz attempt and review pages
-
quiz_questions_in_quiz
-
Returns a comma separated list of question ids for the quiz
-
quiz_questions_on_page
-
Returns a comma separated list of question ids for the current page
-
quiz_question_preview_button
-
-
quiz_repaginate
-
Re-paginates the quiz layout
-
quiz_rescale_grade
-
Convert the raw grade stored in $attempt into a grade out of the maximum grade for this quiz.
-
quiz_save_best_grade
-
Save the overall grade for a user at a quiz in the quiz_grades table
-
quiz_send_confirmation
-
Sends confirmation email to the student taking the course
-
quiz_send_notification
-
Sends notification email to the interested parties that assign the role capability
-
quiz_send_notification_emails
-
Takes a bunch of information to format into an email and send to the specified recipient.
-
quiz_set_grade
-
The quiz grade is the score that student's results are marked out of. When it changes, the corresponding data in quiz_grades and quiz_feedback needs to be rescaled.
-
QUIZ_STATE_CLOSED
-
Constants to describe the various states a quiz attempt can be in.
-
QUIZ_STATE_DURING
-
Constants to describe the various states a quiz attempt can be in.
-
QUIZ_STATE_IMMEDIATELY
-
Constants to describe the various states a quiz attempt can be in.
-
QUIZ_STATE_OPEN
-
Constants to describe the various states a quiz attempt can be in.
-
QUIZ_STATE_TEACHERACCESS
-
Constants to describe the various states a quiz attempt can be in.
-
quiz_upgrade_states
-
Upgrade states for an attempt to Moodle 1.5 model