Quick Navigation
×
Moodle 4.0 XRef and Diffs
Home
Quick Navigation
Moodle 4.0
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 4.0 Database Schema
Versions
Moodle 4.3
Moodle 4.2
Moodle 4.1
Moodle 4.0
Moodle 3.11
Moodle 3.10
Moodle 3.9
Classes
Functions
Variables
Constants
Tables
Namespaces
Search
Search moodle.org's
Developer Documentation
Search
See Release Notes
Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.
Moodle 4.0 Database Schema (by Marcus Green)
separator
[
Top level directory
]
Variable Cross Reference
at:
/lib/dml/tests/dml_test.php
->
line 6118
/lib/dml/tests/dml_test.php
->
line 6119
/question/bank/exportquestions/classes/form/export_form.php
->
line 64
/lib/dml/pgsql_native_moodle_database.php
->
line 1484
/lib/dml/pgsql_native_moodle_database.php
->
line 1503
/mod/feedback/item/multichoicerated/lib.php
->
line 322
/lib/grouplib.php
->
line 1035
/grade/import/csv/index.php
->
line 26
/lib/dml/oci_native_moodle_database.php
->
line 1614
/lib/dml/oci_native_moodle_database.php
->
line 1616
/lib/dml/oci_native_moodle_database.php
->
line 1641
/lib/clilib.php
->
line 176
/lib/pear/HTML/QuickForm.php
->
line 732
/lib/pear/HTML/QuickForm/Renderer/Default.php
->
line 364
/lib/pear/HTML/QuickForm/Renderer/Default.php
->
line 373
/grade/export/lib.php
->
line 610
/lib/simplepie/library/SimplePie/Parser.php
->
line 60
/lib/scssphp/Compiler.php
->
line 4599
/lib/scssphp/Compiler.php
->
line 9113
/lib/scssphp/Compiler.php
->
line 9117
/lib/scssphp/Compiler.php
->
line 9121
/lib/scssphp/Compiler.php
->
line 9126
/lib/scssphp/Compiler.php
->
line 9128
/lib/scssphp/Compiler.php
->
line 9130
/lib/scssphp/Compiler.php
->
line 9181
/lib/scssphp/Compiler.php
->
line 9185
/lib/scssphp/Compiler.php
->
line 9189
/lib/scssphp/Compiler.php
->
line 9193
/privacy/classes/local/request/moodle_content_writer.php
->
line 321
/privacy/classes/local/request/moodle_content_writer.php
->
line 342
/mod/assign/feedback/offline/importgradeslib.php
->
line 72
/grade/export/txt/dump.php
->
line 26
/mod/feedback/item/multichoice/lib.php
->
line 322
/lib/dml/tests/fixtures/test_moodle_database.php
->
line 341
/lib/dml/tests/fixtures/test_moodle_database.php
->
line 354
/lib/pear/HTML/QuickForm/hierselect.php
->
line 121
/lib/pear/HTML/QuickForm/hierselect.php
->
line 137
/lib/form/group.php
->
line 63
/lib/form/group.php
->
line 72
/lib/form/group.php
->
line 192
/lib/form/group.php
->
line 195
/lib/form/group.php
->
line 197
/lib/form/group.php
->
line 199
/question/bank/importquestions/classes/form/import_form.php
->
line 66
/lib/dml/pdo_moodle_database.php
->
line 541
/lib/dml/pdo_moodle_database.php
->
line 553
/lib/moodlelib.php
->
line 8818
/lib/moodlelib.php
->
line 8820
/lib/moodlelib.php
->
line 8956
/lib/dml/mysqli_native_moodle_database.php
->
line 1817
/lib/dml/mysqli_native_moodle_database.php
->
line 1834
/lib/scssphp/Util/Path.php
->
line 69
/lib/scssphp/Util/Path.php
->
line 72
/mod/assign/feedback/offline/locallib.php
->
line 93
/mod/assign/feedback/offline/locallib.php
->
line 299
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1451
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1466
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 360
/lib/dml/moodle_database.php
->
line 597
/lib/dml/moodle_database.php
->
line 605
/lib/dml/moodle_database.php
->
line 613
/lib/dml/moodle_database.php
->
line 2298
/lib/dml/moodle_database.php
->
line 2308
/mod/assign/gradingtable.php
->
line 982
/mod/assign/gradingtable.php
->
line 1455
/mod/assign/gradingtable.php
->
line 1468
/lib/behat/classes/behat_command.php
->
line 109
/lib/behat/classes/behat_command.php
->
line 114
/question/type/multianswer/edit_multianswer_form.php
->
line 286
/question/type/multianswer/edit_multianswer_form.php
->
line 305
/grade/import/csv/tests/load_data_test.php
->
line 91
/lib/pear/HTML/QuickForm/group.php
->
line 95
/lib/pear/HTML/QuickForm/group.php
->
line 114
/mod/glossary/lib.php
->
line 2643
/course/classes/category.php
->
line 2533
/course/classes/category.php
->
line 2608
/lib/pear/HTML/QuickForm/date.php
->
line 307
/lib/pear/HTML/QuickForm/date.php
->
line 400
Referenced 206 times:
/lib/dml/tests/dml_test.php
->
line 6118
/lib/dml/tests/dml_test.php
->
line 6119
/question/bank/exportquestions/classes/form/export_form.php
->
line 64
/question/bank/exportquestions/classes/form/export_form.php
->
line 66
/question/bank/exportquestions/classes/form/export_form.php
->
line 68
/question/bank/exportquestions/classes/form/export_form.php
->
line 69
/lib/dml/pgsql_native_moodle_database.php
->
line 1484
/lib/dml/pgsql_native_moodle_database.php
->
line 1486
/lib/dml/pgsql_native_moodle_database.php
->
line 1503
/lib/dml/pgsql_native_moodle_database.php
->
line 1505
/lib/horde/framework/Horde/Mime/Magic.php
->
line 171
/lib/horde/framework/Horde/Mime/Magic.php
->
line 172
/mod/feedback/item/multichoicerated/lib.php
->
line 322
/mod/feedback/item/multichoicerated/lib.php
->
line 324
/lib/grouplib.php
->
line 1035
/lib/grouplib.php
->
line 1047
/grade/import/csv/classes/load_data.php
->
line 71
/grade/import/csv/classes/load_data.php
->
line 77
/grade/import/csv/index.php
->
line 26
/grade/import/csv/index.php
->
line 33
/grade/import/csv/index.php
->
line 34
/grade/import/csv/index.php
->
line 75
/lib/pear/HTML/QuickForm/Renderer/Object.php
->
line 210
/lib/pear/HTML/QuickForm/Renderer/Object.php
->
line 405
/lib/dml/oci_native_moodle_database.php
->
line 1614
/lib/dml/oci_native_moodle_database.php
->
line 1615
/lib/dml/oci_native_moodle_database.php
->
line 1616
/lib/dml/oci_native_moodle_database.php
->
line 1624
/lib/dml/oci_native_moodle_database.php
->
line 1641
/lib/dml/oci_native_moodle_database.php
->
line 1643
/lib/clilib.php
->
line 176
/lib/clilib.php
->
line 178
/lib/clilib.php
->
line 180
/mod/workshop/renderer.php
->
line 1062
/mod/workshop/renderer.php
->
line 1095
/lib/pear/HTML/QuickForm.php
->
line 732
/lib/pear/HTML/QuickForm.php
->
line 740
/lib/pear/HTML/QuickForm/Renderer/Default.php
->
line 364
/lib/pear/HTML/QuickForm/Renderer/Default.php
->
line 365
/lib/pear/HTML/QuickForm/Renderer/Default.php
->
line 366
/lib/pear/HTML/QuickForm/Renderer/Default.php
->
line 369
/lib/pear/HTML/QuickForm/Renderer/Default.php
->
line 372
/lib/pear/HTML/QuickForm/Renderer/Default.php
->
line 373
/lib/pear/HTML/QuickForm/Renderer/Default.php
->
line 375
/grade/export/lib.php
->
line 610
/grade/export/lib.php
->
line 624
/grade/export/lib.php
->
line 625
/grade/export/lib.php
->
line 625
/lib/simplepie/library/SimplePie/Parser.php
->
line 60
/lib/simplepie/library/SimplePie/Parser.php
->
line 159
/lib/simplepie/library/SimplePie/Parser.php
->
line 191
/lib/simplepie/library/SimplePie/Parser.php
->
line 203
/lib/simplepie/library/SimplePie/Parser.php
->
line 214
/lib/simplepie/library/SimplePie/Parser.php
->
line 384
/lib/simplepie/library/SimplePie/Parser.php
->
line 389
/lib/scssphp/Compiler.php
->
line 4599
/lib/scssphp/Compiler.php
->
line 4639
/lib/scssphp/Compiler.php
->
line 6371
/lib/scssphp/Compiler.php
->
line 6383
/lib/scssphp/Compiler.php
->
line 9113
/lib/scssphp/Compiler.php
->
line 9117
/lib/scssphp/Compiler.php
->
line 9121
/lib/scssphp/Compiler.php
->
line 9126
/lib/scssphp/Compiler.php
->
line 9128
/lib/scssphp/Compiler.php
->
line 9130
/lib/scssphp/Compiler.php
->
line 9163
/lib/scssphp/Compiler.php
->
line 9181
/lib/scssphp/Compiler.php
->
line 9185
/lib/scssphp/Compiler.php
->
line 9189
/lib/scssphp/Compiler.php
->
line 9193
/lib/scssphp/Compiler.php
->
line 9200
/privacy/classes/local/request/moodle_content_writer.php
->
line 321
/privacy/classes/local/request/moodle_content_writer.php
->
line 322
/privacy/classes/local/request/moodle_content_writer.php
->
line 322
/privacy/classes/local/request/moodle_content_writer.php
->
line 342
/privacy/classes/local/request/moodle_content_writer.php
->
line 343
/privacy/classes/local/request/moodle_content_writer.php
->
line 343
/mod/assign/feedback/offline/importgradeslib.php
->
line 64
/mod/assign/feedback/offline/importgradeslib.php
->
line 72
/mod/assign/feedback/offline/importgradeslib.php
->
line 76
/mod/assign/feedback/offline/importgradeslib.php
->
line 76
/mod/assign/feedback/offline/importgradeslib.php
->
line 88
/mod/assign/feedback/offline/importgradeslib.php
->
line 166
/grade/export/txt/dump.php
->
line 26
/grade/export/txt/dump.php
->
line 52
/mod/feedback/item/multichoice/lib.php
->
line 322
/mod/feedback/item/multichoice/lib.php
->
line 342
/mod/feedback/item/multichoice/lib.php
->
line 357
/mod/feedback/item/multichoice/lib.php
->
line 374
/lib/dml/tests/fixtures/test_moodle_database.php
->
line 341
/lib/dml/tests/fixtures/test_moodle_database.php
->
line 354
/lib/pear/HTML/QuickForm/hierselect.php
->
line 121
/lib/pear/HTML/QuickForm/hierselect.php
->
line 125
/lib/pear/HTML/QuickForm/hierselect.php
->
line 126
/lib/pear/HTML/QuickForm/hierselect.php
->
line 137
/lib/pear/HTML/QuickForm/hierselect.php
->
line 139
/lib/form/group.php
->
line 63
/lib/form/group.php
->
line 64
/lib/form/group.php
->
line 72
/lib/form/group.php
->
line 74
/lib/form/group.php
->
line 192
/lib/form/group.php
->
line 195
/lib/form/group.php
->
line 197
/lib/form/group.php
->
line 199
/lib/form/group.php
->
line 204
/question/bank/importquestions/classes/form/import_form.php
->
line 66
/question/bank/importquestions/classes/form/import_form.php
->
line 68
/question/bank/importquestions/classes/form/import_form.php
->
line 70
/question/bank/importquestions/classes/form/import_form.php
->
line 71
/lib/dml/pdo_moodle_database.php
->
line 541
/lib/dml/pdo_moodle_database.php
->
line 553
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php
->
line 606
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php
->
line 608
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php
->
line 639
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php
->
line 641
/lib/moodlelib.php
->
line 8818
/lib/moodlelib.php
->
line 8820
/lib/moodlelib.php
->
line 8829
/lib/moodlelib.php
->
line 8833
/lib/moodlelib.php
->
line 8956
/lib/moodlelib.php
->
line 8958
/lib/dml/mysqli_native_moodle_database.php
->
line 1817
/lib/dml/mysqli_native_moodle_database.php
->
line 1823
/lib/dml/mysqli_native_moodle_database.php
->
line 1834
/lib/dml/mysqli_native_moodle_database.php
->
line 1836
/lib/scssphp/Util/Path.php
->
line 69
/lib/scssphp/Util/Path.php
->
line 72
/lib/scssphp/Util/Path.php
->
line 75
/mod/assign/feedback/offline/locallib.php
->
line 93
/mod/assign/feedback/offline/locallib.php
->
line 99
/mod/assign/feedback/offline/locallib.php
->
line 274
/mod/assign/feedback/offline/locallib.php
->
line 299
/mod/assign/feedback/offline/locallib.php
->
line 301
/mod/assign/feedback/offline/locallib.php
->
line 314
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1451
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1453
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1466
/lib/dml/sqlsrv_native_moodle_database.php
->
line 1468
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 360
/lib/dml/sqlite3_pdo_moodle_database.php
->
line 366
/lib/dml/moodle_database.php
->
line 597
/lib/dml/moodle_database.php
->
line 598
/lib/dml/moodle_database.php
->
line 603
/lib/dml/moodle_database.php
->
line 605
/lib/dml/moodle_database.php
->
line 606
/lib/dml/moodle_database.php
->
line 611
/lib/dml/moodle_database.php
->
line 613
/lib/dml/moodle_database.php
->
line 614
/lib/dml/moodle_database.php
->
line 619
/lib/dml/moodle_database.php
->
line 2298
/lib/dml/moodle_database.php
->
line 2308
/mod/assign/gradingtable.php
->
line 982
/mod/assign/gradingtable.php
->
line 1002
/mod/assign/gradingtable.php
->
line 1455
/mod/assign/gradingtable.php
->
line 1468
/mod/assign/gradingtable.php
->
line 1471
/lib/behat/classes/behat_command.php
->
line 109
/lib/behat/classes/behat_command.php
->
line 114
/lib/behat/classes/behat_command.php
->
line 126
/lib/behat/classes/behat_command.php
->
line 133
/lib/behat/classes/behat_command.php
->
line 133
/lib/behat/classes/behat_command.php
->
line 135
/lib/behat/classes/behat_command.php
->
line 135
/lib/behat/classes/behat_command.php
->
line 135
/lib/behat/classes/behat_command.php
->
line 136
/question/type/multianswer/edit_multianswer_form.php
->
line 286
/question/type/multianswer/edit_multianswer_form.php
->
line 288
/question/type/multianswer/edit_multianswer_form.php
->
line 305
/grade/import/csv/tests/load_data_test.php
->
line 91
/grade/import/csv/tests/load_data_test.php
->
line 94
/grade/import/csv/tests/load_data_test.php
->
line 141
/mod/feedback/classes/complete_form.php
->
line 364
/mod/feedback/classes/complete_form.php
->
line 372
/lib/pear/HTML/QuickForm/group.php
->
line 95
/lib/pear/HTML/QuickForm/group.php
->
line 101
/lib/pear/HTML/QuickForm/group.php
->
line 102
/lib/pear/HTML/QuickForm/group.php
->
line 114
/lib/pear/HTML/QuickForm/group.php
->
line 116
/grade/export/txt/grade_export_txt.php
->
line 25
/grade/export/txt/grade_export_txt.php
->
line 35
/grade/export/txt/grade_export_txt.php
->
line 35
/grade/export/txt/grade_export_txt.php
->
line 43
/grade/export/txt/grade_export_txt.php
->
line 57
/mod/glossary/lib.php
->
line 2643
/mod/glossary/lib.php
->
line 2701
/mod/glossary/lib.php
->
line 2703
/mod/glossary/lib.php
->
line 2708
/mod/glossary/lib.php
->
line 2710
/mod/glossary/lib.php
->
line 2728
/mod/glossary/lib.php
->
line 2730
/mod/glossary/lib.php
->
line 2741
/mod/glossary/lib.php
->
line 2748
/mod/glossary/lib.php
->
line 2750
/question/type/numerical/question.php
->
line 71
/question/type/numerical/question.php
->
line 72
/course/classes/category.php
->
line 2533
/course/classes/category.php
->
line 2548
/course/classes/category.php
->
line 2608
/course/classes/category.php
->
line 2690
/lib/pear/HTML/QuickForm/date.php
->
line 307
/lib/pear/HTML/QuickForm/date.php
->
line 314
/lib/pear/HTML/QuickForm/date.php
->
line 390
/lib/pear/HTML/QuickForm/date.php
->
line 396
/lib/pear/HTML/QuickForm/date.php
->
line 398
/lib/pear/HTML/QuickForm/date.php
->
line 400
/lib/pear/HTML/QuickForm/date.php
->
line 416