Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
/question/
FolderUp one level  
Folderamd/
 
Folderbank/
 
Folderbehaviour/
 
Folderclasses/
 
Folderengine/
 
Folderformat/
 
Foldertemplates/
 
Foldertests/
 
Foldertype/
 
Folderyui/
 
Filecategory_class.php [source] [29 lines]    A class for representing question categories.
Filecategory_form.php  [source] [27 lines]    Defines the form for editing question categories.
Fileedit.php           [source] [70 lines]    Page to edit the question bank
Fileeditlib.php        [source] [564 lines]   Functions used to show question editing interface
Fileexport_form.php    [source] [27 lines]    Defines the export questions form.
Fileformat.php         [source] [1239 lines]  Defines the base class for question import and export formats.
Fileimport_form.php    [source] [27 lines]    Defines the import questions form.
Filelib.php            [source] [101 lines]   Question related functions. This file was created just because Fragment API expects callbacks to be defined on lib.php.
Filemove_form.php      [source] [27 lines]    Form for moving questions between categories.
Filepreviewlib.php     [source] [105 lines]   Library functions used by question/preview.php.
Filerenderer.php       [source] [230 lines]   Renderers for outputting parts of the question bank.
Filetoggleflag.php     [source] [47 lines]    Used by ajax calls to toggle the flagged state of a question in an attempt.
Fileupgrade.php        [source] [45 lines]    This file contains datbase upgrade code that is called from lib/db/upgrade.php, and also check methods that can be used for pre-install checks via admin/environment.php and lib/environmentlib.php.