Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
/lib/db/
FolderUp one level  
Fileaccess.php                  [source] [2630 lines]  Capability definitions for Moodle core.
Fileanalytics.php               [source] [116 lines]   Defines the built-in prediction models provided by the Moodle core.
Filecaches.php                  [source] [496 lines]   Core cache definitions.
Fileevents.php                  [source] [80 lines]    Definition of core event observers.
Fileinstall.php                 [source] [326 lines]   This file is executed right after the install.xml For more information, take a look to the documentation available: - Upgrade API: {@link http://docs.moodle.org/dev/Upgrade_API}
Filelog.php                     [source] [68 lines]    Definition of log events associated with the current component
Filemessageinbound_handlers.php [source] [32 lines]    Inbound Message Handlers for core.
Filemessages.php                [source] [153 lines]   Defines message providers (types of messages being sent)
Filerenamedclasses.php          [source] [45 lines]    This file contains mappings for classes that have been renamed so that they meet the requirements of the autoloader.
Fileservices.php                [source] [2773 lines]  Core external functions and service definitions.
Filetag.php                     [source] [90 lines]    Tag area definitions
Filetasks.php                   [source] [422 lines]   Definition of core scheduled tasks.
Fileupgrade.php                 [source] [2746 lines]  This file keeps track of upgrades to Moodle. Sometimes, changes between versions involve alterations to database structures and other major things that may break installations.
Fileupgradelib.php              [source] [1276 lines]  Upgrade helper functions This file is used for special upgrade functions - for example groups and gradebook. These functions must use SQL and database related functions only- no other Moodle API, because it might depend on db structures that are not yet present during upgrade. (Do not use functions from accesslib.php, grades classes or group functions at all!)