Search moodle.org's
Developer Documentation


  • Bug fixes for general core bugs in 2.8.x ended 9 November 2015 (12 months).
  • Bug fixes for security issues in 2.8.x ended 9 May 2016 (18 months).
  • minimum PHP 5.4.4 (always use latest PHP 5.4.x or 5.5.x on Windows - http://windows.php.net/download/), PHP 7 is NOT supported
  • /mod/quiz/
    FolderUp one level  
    Folderaccessrule/
     
    Folderbackup/
     
    Folderclasses/
     
    Folderdb/
     
    Folderlang/
     
    Folderpix/
     
    Folderreport/
     
    Foldertests/
     
    Folderyui/
     
    Fileaccessmanager.php      [source] [535 lines]   Classes to enforce the various access rules that can apply to a quiz.
    Fileaccessmanager_form.php [source] [72 lines]    Defines the form that limits student's access to attempt a quiz.
    Fileaddrandom.php          [source] [128 lines]   Fallback page of /mod/quiz/edit.php add random question dialog, for users who do not use javascript.
    Fileaddrandomform.php      [source] [113 lines]   Defines the Moodle forum used to add random questions to the quiz.
    Fileattempt.php            [source] [148 lines]   This script displays a particular page of a quiz attempt that is in progress.
    Fileattemptlib.php         [source] [1886 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] [63 lines]    Thisscript processes ajax auto-save requests during the quiz.
    Filecomment.php            [source] [122 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] [208 lines]   Page to edit quizzes
    Fileedit_rest.php          [source] [142 lines]   Rest endpoint for ajax editing of quiz structure.
    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] [203 lines]   This script lists all the instances of quiz in a particular course
    Filelib.php                [source] [1853 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] [2047 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] [650 lines]   Defines the quiz module ettings form.
    Fileoverride_form.php      [source] [265 lines]   Settings form for overrides in the quiz module.
    Fileoverridedelete.php     [source] [96 lines]    This page handles deleting quiz overrides
    Fileoverrideedit.php       [source] [226 lines]   This page handles editing and creation of quiz overrides
    Fileoverrides.php          [source] [281 lines]   This page handles listing of quiz overrides
    Fileprocessattempt.php     [source] [185 lines]   This page deals with processing responses during an attempt at a quiz.
    Filequestionbank.ajax.php  [source] [49 lines]    Ajax script to update the contents of the question bank dialogue.
    Filerenderer.php           [source] [1254 lines]  Defines the renderer for the quiz module.
    Filerepaginate.php         [source] [51 lines]    Rest endpoint for ajax editing for paging operations on the quiz structure.
    Filereport.php             [source] [112 lines]   This script controls the display of the quiz reports.
    Filereview.php             [source] [273 lines]   This page prints a review of a particular quiz attempt
    Filereviewquestion.php     [source] [107 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] [259 lines]   Administration settings definitions for the quiz module.
    Filestartattempt.php       [source] [190 lines]   This script deals with starting a new attempt at a quiz.
    Filesummary.php            [source] [107 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] [250 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.

    Search This Site: