[quiz] element index

Package indexes

All elements
l q
l
top
Page locallib.1.9.php
locallib.1.9.php in locallib.1.9.php
q
top
Constant QUIZ_ATTEMPTFIRST
QUIZ_ATTEMPTFIRST in locallib.1.9.php
Options determining how the grades from individual attempts are combined to give
Constant QUIZ_ATTEMPTLAST
QUIZ_ATTEMPTLAST in locallib.1.9.php
Options determining how the grades from individual attempts are combined to give
Function quiz_calculate_best_attempt
quiz_calculate_best_attempt() in locallib.1.9.php
Return the attempt with the best grade for a quiz
Function quiz_calculate_best_grade
quiz_calculate_best_grade() in locallib.1.9.php
Calculate the overall grade for a quiz given a number of attempts by a particular user.
Function quiz_create_attempt
quiz_create_attempt() in locallib.1.9.php
Creates an object to represent a new attempt at a quiz
Function quiz_delete_attempt
quiz_delete_attempt() in locallib.1.9.php
Delete a quiz attempt.
Function quiz_feedback_for_grade
quiz_feedback_for_grade() in locallib.1.9.php
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.
Function quiz_first_questionnumber
quiz_first_questionnumber() in locallib.1.9.php
Returns the first question number for the current quiz page
Function quiz_get_all_question_grades
quiz_get_all_question_grades() in locallib.1.9.php
Creates an array of maximum grades for a quiz
Function quiz_get_best_grade
quiz_get_best_grade() in locallib.1.9.php
Get the best current grade for a particular user in a quiz.
Function quiz_get_combined_reviewoptions
Combines the review options from a number of different quiz attempts.
Function quiz_get_grading_options
quiz_get_grading_options() in locallib.1.9.php
Function quiz_get_grading_option_name
quiz_get_grading_option_name() in locallib.1.9.php
Function quiz_get_renderoptions
quiz_get_renderoptions() in locallib.1.9.php
Determine render options
Function quiz_get_reviewoptions
quiz_get_reviewoptions() in locallib.1.9.php
Determine review options
Function 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.
Constant QUIZ_GRADEAVERAGE
QUIZ_GRADEAVERAGE in locallib.1.9.php
Options determining how the grades from individual attempts are combined to give
Constant QUIZ_GRADEHIGHEST
QUIZ_GRADEHIGHEST in locallib.1.9.php
Options determining how the grades from individual attempts are combined to give
Function quiz_has_feedback
quiz_has_feedback() in locallib.1.9.php
Function quiz_number_of_pages
quiz_number_of_pages() in locallib.1.9.php
Returns the number of pages in the quiz layout
Function quiz_parse_fieldname
quiz_parse_fieldname() in locallib.1.9.php
Parse field names used for the replace options on question edit forms
Function quiz_print_navigation_panel
quiz_print_navigation_panel() in locallib.1.9.php
Print navigation panel for quiz attempt and review pages
Function quiz_questions_in_quiz
quiz_questions_in_quiz() in locallib.1.9.php
Returns a comma separated list of question ids for the quiz
Function quiz_questions_on_page
quiz_questions_on_page() in locallib.1.9.php
Returns a comma separated list of question ids for the current page
Function quiz_question_preview_button
quiz_question_preview_button() in locallib.1.9.php
Function quiz_repaginate
quiz_repaginate() in locallib.1.9.php
Re-paginates the quiz layout
Function quiz_rescale_grade
quiz_rescale_grade() in locallib.1.9.php
Convert the raw grade stored in $attempt into a grade out of the maximum grade for this quiz.
Function quiz_save_best_grade
quiz_save_best_grade() in locallib.1.9.php
Save the overall grade for a user at a quiz in the quiz_grades table
Function quiz_send_confirmation
quiz_send_confirmation() in locallib.1.9.php
Sends confirmation email to the student taking the course
Function quiz_send_notification
quiz_send_notification() in locallib.1.9.php
Sends notification email to the interested parties that assign the role capability
Function quiz_send_notification_emails
Takes a bunch of information to format into an email and send to the specified recipient.
Function quiz_set_grade
quiz_set_grade() in locallib.1.9.php
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.
Constant QUIZ_STATE_CLOSED
QUIZ_STATE_CLOSED in locallib.1.9.php
Constants to describe the various states a quiz attempt can be in.
Constant QUIZ_STATE_DURING
QUIZ_STATE_DURING in locallib.1.9.php
Constants to describe the various states a quiz attempt can be in.
Constant QUIZ_STATE_IMMEDIATELY
QUIZ_STATE_IMMEDIATELY in locallib.1.9.php
Constants to describe the various states a quiz attempt can be in.
Constant QUIZ_STATE_OPEN
QUIZ_STATE_OPEN in locallib.1.9.php
Constants to describe the various states a quiz attempt can be in.
Constant QUIZ_STATE_TEACHERACCESS
QUIZ_STATE_TEACHERACCESS in locallib.1.9.php
Constants to describe the various states a quiz attempt can be in.
Function quiz_upgrade_states
quiz_upgrade_states() in locallib.1.9.php
Upgrade states for an attempt to Moodle 1.5 model
l q