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.
/lib/dml/tests/fixtures/
FolderUp one level  
Fileread_slave_moodle_database.php             [source] [238 lines]   Database driver test class for testing moodle_read_slave_trait
Fileread_slave_moodle_database_mock_mysqli.php [source] [66 lines]    Database driver test class for testing mysqli_native_moodle_database with moodle_read_slave_trait
Fileread_slave_moodle_database_mock_pgsql.php  [source] [43 lines]    Database driver test class for testing pgsql_native_moodle_database with moodle_read_slave_trait
Fileread_slave_moodle_database_special.php     [source] [134 lines]   Database driver test class for testing moodle_read_slave_trait
Fileread_slave_moodle_database_table_names.php [source] [54 lines]    Database driver test class for testing moodle_read_slave_trait
Fileread_slave_moodle_recordset_special.php    [source] [70 lines]    Database driver test class for testing moodle_read_slave_trait
Filetest_dml_sql_debugging_fixture.php         [source] [95 lines]    Test SQL debugging fixture
Filetest_moodle_database.php                   [source] [399 lines]   Abstract database driver test class providing some moodle database interface
Filetest_moodle_read_slave_trait.php           [source] [120 lines]   Read slave helper that exposes selected moodle_read_slave_trait metods
Filetest_sql_generator.php                     [source] [119 lines]   Test SQL code generator class