Developer Documentation

  • 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.
  • /admin/cli/
    FolderUp one level  
    Fileadhoc_task.php                       [source] [131 lines]   Task executor for adhoc tasks.
    Filealternative_component_cache.php      [source] [111 lines]   This hack is intended for clustered sites that do not want to use shared cachedir for component cache.
    Fileautomated_backups.php                [source] [99 lines]    Automated backups CLI cron
    Filebackup.php                           [source] [119 lines]   This script allows to do backup.
    Filebuild_theme_css.php                  [source] [119 lines]   Build and store theme CSS.
    Filecfg.php                              [source] [178 lines]   CLI script allowing to get and set config values.
    Filecheck_database_schema.php            [source] [76 lines]    Validate that the current db structure matches the install.xml files.
    Filechecks.php                           [source] [171 lines]   CLI tool for system checks
    Filecron.php                             [source] [178 lines]   CLI cron
    Filefix_course_sequence.php              [source] [125 lines]   This script fixed incorrectly deleted users.
    Filefix_deleted_users.php                [source] [92 lines]    This script fixed incorrectly deleted users.
    Filefix_orphaned_question_categories.php [source] [103 lines]   This script fixes orphaned question categories.
    Fileinstall.php                          [source] [835 lines]   This script creates config.php file and prepares database.
    Fileinstall_database.php                 [source] [189 lines]   This installs Moodle into empty database, config.php must already exist.
    Filekill_all_sessions.php                [source] [55 lines]    CLI script to kill all user sessions without asking for confirmation.
    Filemaintenance.php                      [source] [112 lines]   Enable or disable maintenance mode.
    Filemysql_collation.php                  [source] [328 lines]   MySQL collation conversion tool.
    Filemysql_compressed_rows.php            [source] [202 lines]   MySQL table row compression tool tool.
    Filemysql_engine.php                     [source] [180 lines]   MySQL engine conversion tool.
    Filepurge_caches.php                     [source] [76 lines]    CLI script to purge caches without asking for confirmation.
    Filereset_password.php                   [source] [108 lines]   This script allows you to reset any local user password.
    Filerestore_backup.php                   [source] [109 lines]   This script allows to restore a course from CLI.
    Filescheduled_task.php                   [source] [168 lines]   CLI task execution.
    Filesvgtool.php                          [source] [182 lines]   This script implements some useful svg manipulation tricks.
    Fileuninstall_plugins.php                [source] [171 lines]   CLI script to uninstall plugins.
    Fileupgrade.php                          [source] [224 lines]   This script creates config.php file and prepares database.