Search moodle.org's
Developer Documentation

  • Bug fixes for general core bugs in 3.6.x will end 11 November 2019 (12 months).
  • Bug fixes for security issues in 3.6.x will end 11 May 2020 (18 months) - Support has ended.
  • minimum PHP 7.0.0 Note: minimum PHP version has increased since Moodle 3.3. PHP 7.1.x and 7.2.x are supported too. PHP 7.3.x support is being implemented (@ MDL-63420) and not ready for production with this release.
  • /mod/quiz/
    FolderUp one level  
    Folderaccessrule/
     
    Folderamd/
     
    Folderbackup/
     
    Folderclasses/
     
    Folderdb/
     
    Folderlang/
     
    Folderpix/
     
    Folderreport/
     
    Foldertemplates/
     
    Foldertests/
     
    Folderyui/
     
    Fileaccessmanager.php      [source] [562 lines]   Classes to enforce the various access rules that can apply to a quiz.
    Fileaccessmanager_form.php [source] [71 lines]    Defines the form that limits student's access to attempt a quiz.
    Fileaddrandom.php          [source] [140 lines]   Fallback page of /mod/quiz/edit.php add random question dialog, for users who do not use javascript.
    Fileaddrandomform.php      [source] [142 lines]   Defines the Moodle forum used to add random questions to the quiz.
    Fileattempt.php            [source] [133 lines]   This script displays a particular page of a quiz attempt that is in progress.
    Fileattemptlib.php         [source] [2668 lines]  Back-end code for handling data about quizzes and the current user's attempt. There are classes for loading all the information about a quiz and attempts, and for displaying the navigation panel.
    Fileautosave.ajax.php      [source] [64 lines]    Thisscript processes ajax auto-save requests during the quiz.
    Filecomment.php            [source] [137 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] [125 lines]   Library code used by quiz cron.
    Fileedit.php               [source] [216 lines]   Page to edit quizzes
    Fileedit_rest.php          [source] [206 lines]   Rest endpoint for ajax editing of quiz structure.
    Fileeditrandom.php         [source] [182 lines]   Page for editing random questions.
    Filegrade.php              [source] [93 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] [187 lines]   This script lists all the instances of quiz in a particular course
    Filelib.php                [source] [2536 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] [2590 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] [673 lines]   Defines the quiz module ettings form.
    Fileoverride_form.php      [source] [274 lines]   Settings form for overrides in the quiz module.
    Fileoverridedelete.php     [source] [106 lines]   This page handles deleting quiz overrides
    Fileoverrideedit.php       [source] [242 lines]   This page handles editing and creation of quiz overrides
    Fileoverrides.php          [source] [309 lines]   This page handles listing of quiz overrides
    Fileprocessattempt.php     [source] [98 lines]    This page deals with processing responses during an attempt at a quiz.
    Filerenderer.php           [source] [1369 lines]  Defines the renderer for the quiz module.
    Filerepaginate.php         [source] [50 lines]    Rest endpoint for ajax editing for paging operations on the quiz structure.
    Filereport.php             [source] [113 lines]   This script controls the display of the quiz reports.
    Filereview.php             [source] [263 lines]   This page prints a review of a particular quiz attempt
    Filereviewquestion.php     [source] [122 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] [258 lines]   Administration settings definitions for the quiz module.
    Filestartattempt.php       [source] [114 lines]   This script deals with starting a new attempt at a quiz.
    Filesummary.php            [source] [97 lines]    This page prints a summary of a quiz attempt before it is submitted.
    Fileversion.php            [source] [30 lines]    Quiz activity version information.
    Fileview.php               [source] [247 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.