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)
newcourseid
[
Top level directory
]
Variable Cross Reference
at:
/mod/lesson/tests/backup/restore_override_test.php
->
line 84
/mod/lesson/tests/backup/restore_override_test.php
->
line 92
/question/tests/backup_test.php
->
line 76
/mod/quiz/tests/restore_override_test.php
->
line 86
/mod/quiz/tests/restore_override_test.php
->
line 94
/backup/moodle2/tests/moodle2_test.php
->
line 84
/backup/moodle2/tests/moodle2_test.php
->
line 136
/backup/moodle2/tests/moodle2_test.php
->
line 362
/backup/moodle2/tests/moodle2_test.php
->
line 414
/backup/moodle2/tests/moodle2_test.php
->
line 488
/backup/moodle2/tests/moodle2_test.php
->
line 623
/backup/moodle2/tests/moodle2_test.php
->
line 628
/backup/moodle2/tests/moodle2_test.php
->
line 839
/backup/moodle2/tests/moodle2_test.php
->
line 851
/backup/moodle2/tests/moodle2_test.php
->
line 901
/backup/moodle2/tests/moodle2_test.php
->
line 1025
/backup/moodle2/tests/moodle2_test.php
->
line 1085
/mod/survey/tests/backup/restore_date_test.php
->
line 64
/lib/phpunit/classes/restore_date_testcase.php
->
line 92
/mod/assign/tests/backup/restore_date_test.php
->
line 60
/backup/tests/roles_backup_restore_test.php
->
line 151
/backup/tests/roles_backup_restore_test.php
->
line 171
/question/type/essay/tests/restore_test.php
->
line 55
/mod/workshop/tests/backup/restore_date_test.php
->
line 60
/enrol/ldap/lib.php
->
line 207
/enrol/ldap/lib.php
->
line 453
/mod/lesson/tests/backup/restore_date_test.php
->
line 143
/mod/h5pactivity/tests/restore_test.php
->
line 90
/mod/h5pactivity/tests/restore_test.php
->
line 204
/backup/tests/async_restore_test.php
->
line 104
/backup/tests/async_restore_test.php
->
line 205
/mod/imscp/tests/backup/restore_date_test.php
->
line 39
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 81
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 105
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 146
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 187
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 221
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 261
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 306
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 382
/backup/moodle2/tests/moodle2_course_format_test.php
->
line 193
/backup/moodle2/tests/moodle2_course_format_test.php
->
line 195
/mod/folder/tests/backup/restore_date_test.php
->
line 39
/backup/util/helper/tests/copy_helper_test.php
->
line 322
/mod/feedback/tests/backup/restore_date_test.php
->
line 49
/mod/chat/tests/backup/restore_date_test.php
->
line 48
/mod/resource/tests/backup/restore_date_test.php
->
line 41
/question/bank/comment/tests/backup_test.php
->
line 125
/course/lib.php
->
line 2229
/mod/quiz/tests/tags_test.php
->
line 48
/question/bank/customfields/tests/customfield_test.php
->
line 151
/mod/scorm/tests/backup/restore_date_test.php
->
line 47
/course/externallib.php
->
line 1442
/mod/quiz/tests/backup/restore_date_test.php
->
line 83
/mod/data/tests/backup/restore_date_test.php
->
line 68
/backup/util/helper/copy_helper.class.php
->
line 87
/mod/glossary/tests/backup/restore_date_test.php
->
line 64
/mod/quiz/tests/quiz_question_restore_test.php
->
line 251
/mod/quiz/tests/quiz_question_restore_test.php
->
line 294
/mod/quiz/tests/quiz_question_restore_test.php
->
line 346
/mod/quiz/tests/quiz_question_restore_test.php
->
line 399
/admin/tool/log/store/standard/tests/store_test.php
->
line 451
/admin/tool/log/store/standard/tests/store_test.php
->
line 462
/admin/tool/log/store/standard/tests/store_test.php
->
line 513
/mod/bigbluebuttonbn/tests/backup_restore_test.php
->
line 77
/mod/bigbluebuttonbn/tests/backup_restore_test.php
->
line 149
/mod/wiki/tests/backup/restore_date_test.php
->
line 47
/mod/choice/tests/backup/restore_date_test.php
->
line 48
/mod/forum/tests/backup/restore_date_test.php
->
line 77
Referenced 203 times:
/mod/lesson/tests/backup/restore_override_test.php
->
line 84
/mod/lesson/tests/backup/restore_override_test.php
->
line 85
/mod/lesson/tests/backup/restore_override_test.php
->
line 92
/mod/lesson/tests/backup/restore_override_test.php
->
line 93
/question/tests/backup_test.php
->
line 76
/question/tests/backup_test.php
->
line 77
/question/tests/backup_test.php
->
line 92
/mod/quiz/tests/restore_override_test.php
->
line 86
/mod/quiz/tests/restore_override_test.php
->
line 87
/mod/quiz/tests/restore_override_test.php
->
line 94
/mod/quiz/tests/restore_override_test.php
->
line 95
/backup/moodle2/tests/moodle2_test.php
->
line 84
/backup/moodle2/tests/moodle2_test.php
->
line 87
/backup/moodle2/tests/moodle2_test.php
->
line 92
/backup/moodle2/tests/moodle2_test.php
->
line 136
/backup/moodle2/tests/moodle2_test.php
->
line 138
/backup/moodle2/tests/moodle2_test.php
->
line 159
/backup/moodle2/tests/moodle2_test.php
->
line 163
/backup/moodle2/tests/moodle2_test.php
->
line 183
/backup/moodle2/tests/moodle2_test.php
->
line 362
/backup/moodle2/tests/moodle2_test.php
->
line 364
/backup/moodle2/tests/moodle2_test.php
->
line 367
/backup/moodle2/tests/moodle2_test.php
->
line 414
/backup/moodle2/tests/moodle2_test.php
->
line 432
/backup/moodle2/tests/moodle2_test.php
->
line 452
/backup/moodle2/tests/moodle2_test.php
->
line 488
/backup/moodle2/tests/moodle2_test.php
->
line 490
/backup/moodle2/tests/moodle2_test.php
->
line 500
/backup/moodle2/tests/moodle2_test.php
->
line 623
/backup/moodle2/tests/moodle2_test.php
->
line 628
/backup/moodle2/tests/moodle2_test.php
->
line 630
/backup/moodle2/tests/moodle2_test.php
->
line 633
/backup/moodle2/tests/moodle2_test.php
->
line 642
/backup/moodle2/tests/moodle2_test.php
->
line 653
/backup/moodle2/tests/moodle2_test.php
->
line 657
/backup/moodle2/tests/moodle2_test.php
->
line 667
/backup/moodle2/tests/moodle2_test.php
->
line 681
/backup/moodle2/tests/moodle2_test.php
->
line 687
/backup/moodle2/tests/moodle2_test.php
->
line 697
/backup/moodle2/tests/moodle2_test.php
->
line 712
/backup/moodle2/tests/moodle2_test.php
->
line 715
/backup/moodle2/tests/moodle2_test.php
->
line 725
/backup/moodle2/tests/moodle2_test.php
->
line 737
/backup/moodle2/tests/moodle2_test.php
->
line 743
/backup/moodle2/tests/moodle2_test.php
->
line 755
/backup/moodle2/tests/moodle2_test.php
->
line 767
/backup/moodle2/tests/moodle2_test.php
->
line 773
/backup/moodle2/tests/moodle2_test.php
->
line 785
/backup/moodle2/tests/moodle2_test.php
->
line 797
/backup/moodle2/tests/moodle2_test.php
->
line 803
/backup/moodle2/tests/moodle2_test.php
->
line 839
/backup/moodle2/tests/moodle2_test.php
->
line 842
/backup/moodle2/tests/moodle2_test.php
->
line 851
/backup/moodle2/tests/moodle2_test.php
->
line 862
/backup/moodle2/tests/moodle2_test.php
->
line 901
/backup/moodle2/tests/moodle2_test.php
->
line 904
/backup/moodle2/tests/moodle2_test.php
->
line 910
/backup/moodle2/tests/moodle2_test.php
->
line 914
/backup/moodle2/tests/moodle2_test.php
->
line 1025
/backup/moodle2/tests/moodle2_test.php
->
line 1027
/backup/moodle2/tests/moodle2_test.php
->
line 1036
/backup/moodle2/tests/moodle2_test.php
->
line 1085
/backup/moodle2/tests/moodle2_test.php
->
line 1088
/mod/survey/tests/backup/restore_date_test.php
->
line 64
/mod/survey/tests/backup/restore_date_test.php
->
line 65
/lib/phpunit/classes/restore_date_testcase.php
->
line 92
/lib/phpunit/classes/restore_date_testcase.php
->
line 94
/lib/phpunit/classes/restore_date_testcase.php
->
line 107
/mod/assign/tests/backup/restore_date_test.php
->
line 60
/mod/assign/tests/backup/restore_date_test.php
->
line 61
/backup/tests/roles_backup_restore_test.php
->
line 151
/backup/tests/roles_backup_restore_test.php
->
line 155
/backup/tests/roles_backup_restore_test.php
->
line 171
/backup/tests/roles_backup_restore_test.php
->
line 175
/question/type/essay/tests/restore_test.php
->
line 55
/question/type/essay/tests/restore_test.php
->
line 58
/mod/workshop/tests/backup/restore_date_test.php
->
line 60
/mod/workshop/tests/backup/restore_date_test.php
->
line 61
/enrol/ldap/lib.php
->
line 207
/enrol/ldap/lib.php
->
line 210
/enrol/ldap/lib.php
->
line 453
/enrol/ldap/lib.php
->
line 456
/mod/lesson/tests/backup/restore_date_test.php
->
line 143
/mod/lesson/tests/backup/restore_date_test.php
->
line 144
/mod/h5pactivity/tests/restore_test.php
->
line 90
/mod/h5pactivity/tests/restore_test.php
->
line 100
/mod/h5pactivity/tests/restore_test.php
->
line 101
/mod/h5pactivity/tests/restore_test.php
->
line 108
/mod/h5pactivity/tests/restore_test.php
->
line 204
/mod/h5pactivity/tests/restore_test.php
->
line 207
/mod/h5pactivity/tests/restore_test.php
->
line 218
/backup/tests/async_restore_test.php
->
line 104
/backup/tests/async_restore_test.php
->
line 106
/backup/tests/async_restore_test.php
->
line 205
/backup/tests/async_restore_test.php
->
line 207
/mod/imscp/tests/backup/restore_date_test.php
->
line 39
/mod/imscp/tests/backup/restore_date_test.php
->
line 40
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 81
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 82
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 105
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 106
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 146
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 147
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 149
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 187
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 188
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 190
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 221
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 222
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 224
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 261
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 262
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 265
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 306
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 307
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 310
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 382
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 383
/backup/moodle2/tests/restore_stepslib_date_test.php
->
line 386
/backup/moodle2/tests/moodle2_course_format_test.php
->
line 193
/backup/moodle2/tests/moodle2_course_format_test.php
->
line 195
/backup/moodle2/tests/moodle2_course_format_test.php
->
line 198
/backup/moodle2/tests/moodle2_course_format_test.php
->
line 206
/mod/folder/tests/backup/restore_date_test.php
->
line 39
/mod/folder/tests/backup/restore_date_test.php
->
line 40
/backup/util/helper/tests/copy_helper_test.php
->
line 322
/backup/util/helper/tests/copy_helper_test.php
->
line 323
/backup/util/helper/tests/copy_helper_test.php
->
line 328
/mod/feedback/tests/backup/restore_date_test.php
->
line 49
/mod/feedback/tests/backup/restore_date_test.php
->
line 50
/mod/chat/tests/backup/restore_date_test.php
->
line 48
/mod/chat/tests/backup/restore_date_test.php
->
line 49
/mod/resource/tests/backup/restore_date_test.php
->
line 41
/mod/resource/tests/backup/restore_date_test.php
->
line 42
/question/bank/comment/tests/backup_test.php
->
line 125
/question/bank/comment/tests/backup_test.php
->
line 126
/question/bank/comment/tests/backup_test.php
->
line 134
/course/lib.php
->
line 2229
/course/lib.php
->
line 2230
/course/lib.php
->
line 2235
/course/lib.php
->
line 2236
/course/lib.php
->
line 2238
/course/lib.php
->
line 2244
/course/lib.php
->
line 2246
/course/lib.php
->
line 2268
/course/lib.php
->
line 2271
/mod/quiz/tests/tags_test.php
->
line 48
/mod/quiz/tests/tags_test.php
->
line 49
/mod/quiz/tests/tags_test.php
->
line 57
/mod/quiz/tests/tags_test.php
->
line 88
/question/bank/customfields/tests/customfield_test.php
->
line 151
/question/bank/customfields/tests/customfield_test.php
->
line 152
/question/bank/customfields/tests/customfield_test.php
->
line 160
/mod/scorm/tests/backup/restore_date_test.php
->
line 47
/mod/scorm/tests/backup/restore_date_test.php
->
line 48
/course/externallib.php
->
line 1442
/course/externallib.php
->
line 1444
/course/externallib.php
->
line 1480
/mod/quiz/tests/backup/restore_date_test.php
->
line 83
/mod/quiz/tests/backup/restore_date_test.php
->
line 84
/mod/data/tests/backup/restore_date_test.php
->
line 68
/mod/data/tests/backup/restore_date_test.php
->
line 69
/mod/data/tests/backup/restore_date_test.php
->
line 76
/backup/util/helper/copy_helper.class.php
->
line 87
/backup/util/helper/copy_helper.class.php
->
line 88
/mod/glossary/tests/backup/restore_date_test.php
->
line 64
/mod/glossary/tests/backup/restore_date_test.php
->
line 65
/mod/glossary/tests/backup/restore_date_test.php
->
line 72
/mod/quiz/tests/quiz_question_restore_test.php
->
line 251
/mod/quiz/tests/quiz_question_restore_test.php
->
line 252
/mod/quiz/tests/quiz_question_restore_test.php
->
line 260
/mod/quiz/tests/quiz_question_restore_test.php
->
line 294
/mod/quiz/tests/quiz_question_restore_test.php
->
line 295
/mod/quiz/tests/quiz_question_restore_test.php
->
line 303
/mod/quiz/tests/quiz_question_restore_test.php
->
line 318
/mod/quiz/tests/quiz_question_restore_test.php
->
line 319
/mod/quiz/tests/quiz_question_restore_test.php
->
line 346
/mod/quiz/tests/quiz_question_restore_test.php
->
line 347
/mod/quiz/tests/quiz_question_restore_test.php
->
line 355
/mod/quiz/tests/quiz_question_restore_test.php
->
line 361
/mod/quiz/tests/quiz_question_restore_test.php
->
line 399
/mod/quiz/tests/quiz_question_restore_test.php
->
line 400
/mod/quiz/tests/quiz_question_restore_test.php
->
line 409
/mod/quiz/tests/quiz_question_restore_test.php
->
line 428
/mod/quiz/tests/quiz_question_restore_test.php
->
line 429
/admin/tool/log/store/standard/tests/store_test.php
->
line 451
/admin/tool/log/store/standard/tests/store_test.php
->
line 455
/admin/tool/log/store/standard/tests/store_test.php
->
line 462
/admin/tool/log/store/standard/tests/store_test.php
->
line 466
/admin/tool/log/store/standard/tests/store_test.php
->
line 513
/admin/tool/log/store/standard/tests/store_test.php
->
line 515
/admin/tool/log/store/standard/tests/store_test.php
->
line 525
/mod/bigbluebuttonbn/tests/backup_restore_test.php
->
line 77
/mod/bigbluebuttonbn/tests/backup_restore_test.php
->
line 81
/mod/bigbluebuttonbn/tests/backup_restore_test.php
->
line 149
/mod/bigbluebuttonbn/tests/backup_restore_test.php
->
line 155
/mod/wiki/tests/backup/restore_date_test.php
->
line 47
/mod/wiki/tests/backup/restore_date_test.php
->
line 48
/mod/choice/tests/backup/restore_date_test.php
->
line 48
/mod/choice/tests/backup/restore_date_test.php
->
line 49
/mod/forum/tests/backup/restore_date_test.php
->
line 77
/mod/forum/tests/backup/restore_date_test.php
->
line 78
/mod/forum/tests/backup/restore_date_test.php
->
line 86