Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
/lib/db/
FolderUp one level  
Fileaccess.php                  [source] [2620 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] [487 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] [2741 lines]  Core external functions and service definitions.
Filetag.php                     [source] [90 lines]    Tag area definitions
Filetasks.php                   [source] [413 lines]   Definition of core scheduled tasks.
Fileupgrade.php                 [source] [3088 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!)