Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.
/mod/quiz/
FolderUp one level  
Folderaccessrule/
 
Folderamd/
 
Folderbackup/
 
Folderclasses/
 
Folderdb/
 
Folderlang/
 
Folderpix/
 
Folderreport/
 
Foldertemplates/
 
Foldertests/
 
Folderyui/
 
Fileaccessmanager.php      [source] [25 lines]    File only retained to prevent fatal errors in code that tries to require/include this.
Fileaccessmanager_form.php [source] [25 lines]    File only retained to prevent fatal errors in code that tries to require/include this.
Fileaddrandom.php          [source] [141 lines]   Fallback page of /mod/quiz/edit.php add random question dialog, for users who do not use javascript.
Fileaddrandomform.php      [source] [25 lines]    File only retained to prevent fatal errors in code that tries to require/include this.
Fileattempt.php            [source] [144 lines]   This script displays a particular page of a quiz attempt that is in progress.
Fileattemptlib.php         [source] [26 lines]    File only retained to prevent fatal errors in code that tries to require/include this.
Fileautosave.ajax.php      [source] [74 lines]    Thisscript processes ajax auto-save requests during the quiz.
Filecomment.php            [source] [138 lines]   This page allows the teacher to enter a manual grade for a particular question. This page is expected to only be used in a popup window.
Filecronlib.php            [source] [32 lines]    Library code used by quiz cron.
Filedeprecatedlib.php      [source] [486 lines]   List of deprecated mod_quiz functions.
Fileedit.php               [source] [213 lines]   Page to edit quizzes
Fileedit_rest.php          [source] [216 lines]   Rest endpoint for ajax editing of quiz structure.
Fileeditrandom.php         [source] [140 lines]   Page for editing random questions.
Filegrade.php              [source] [97 lines]    This page is the entry page into the quiz UI. Displays information about the quiz to students and teachers, and lets students see their previous attempts.
Fileindex.php              [source] [186 lines]   This script lists all the instances of quiz in a particular course
Filelib.php                [source] [2522 lines]  Library of functions for the quiz module. This contains functions that are called also from outside the quiz module Functions that are only called by the quiz module itself are in {@link locallib.php}
Filelocallib.php           [source] [2178 lines]  Library of functions used by the quiz module. This contains functions that are called from within the quiz module only Functions that are also called by core Moodle are in {@link lib.php} This script also loads the code in {@link questionlib.php} which holds the module-indpendent code for handling questions and which in turn initialises all the questiontype classes.
Filemod_form.php           [source] [668 lines]   Defines the quiz module ettings form.
Fileoverride_form.php      [source] [29 lines]    Settings form for overrides in the quiz module.
Fileoverridedelete.php     [source] [107 lines]   This page handles deleting quiz overrides
Fileoverrideedit.php       [source] [245 lines]   This page handles editing and creation of quiz overrides
Fileoverrides.php          [source] [374 lines]   This page handles listing of quiz overrides
Fileprocessattempt.php     [source] [105 lines]   This page deals with processing responses during an attempt at a quiz.
Filerenderer.php           [source] [27 lines]    File only retained to prevent fatal errors in code that tries to require/include this.
Filerepaginate.php         [source] [52 lines]    Rest endpoint for ajax editing for paging operations on the quiz structure.
Filereport.php             [source] [99 lines]    This script controls the display of the quiz reports.
Filereview.php             [source] [271 lines]   This page prints a review of a particular quiz attempt
Filereviewquestion.php     [source] [125 lines]   This page prints a review of a particular question attempt. This page is expected to only be used in a popup window.
Filesettings.php           [source] [317 lines]   Administration settings definitions for the quiz module.
Filestartattempt.php       [source] [113 lines]   This script deals with starting a new attempt at a quiz.
Filesummary.php            [source] [105 lines]   This page prints a summary of a quiz attempt before it is submitted.
Fileversion.php            [source] [29 lines]    Quiz activity version information.
Fileview.php               [source] [264 lines]   This page is the entry page into the quiz UI. Displays information about the quiz to students and teachers, and lets students see their previous attempts.