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)
newcontextid
[
Top level directory
]
Variable Cross Reference
at:
/lib/filelib.php
->
line 1069
/backup/moodle2/restore_stepslib.php
->
line 4370
/backup/moodle2/restore_stepslib.php
->
line 5161
/question/bank/customfields/backup/moodle2/restore_qbank_customfields_plugin.class.php
->
line 46
/backup/util/dbops/restore_dbops.class.php
->
line 935
/backup/util/dbops/restore_dbops.class.php
->
line 942
Referenced 113 times:
/mod/quiz/editrandom.php
->
line 102
/mod/quiz/editrandom.php
->
line 104
/question/type/multichoice/questiontype.php
->
line 295
/question/type/multichoice/questiontype.php
->
line 296
/question/type/multichoice/questiontype.php
->
line 297
/question/type/multichoice/questiontype.php
->
line 298
/question/type/multichoice/questiontype.php
->
line 299
/question/type/truefalse/questiontype.php
->
line 160
/question/type/truefalse/questiontype.php
->
line 161
/question/type/truefalse/questiontype.php
->
line 162
/question/type/shortanswer/questiontype.php
->
line 45
/question/type/shortanswer/questiontype.php
->
line 46
/question/type/shortanswer/questiontype.php
->
line 47
/question/type/shortanswer/questiontype.php
->
line 48
/lib/questionlib.php
->
line 512
/lib/questionlib.php
->
line 518
/lib/questionlib.php
->
line 519
/lib/questionlib.php
->
line 787
/lib/questionlib.php
->
line 790
/lib/questionlib.php
->
line 796
/lib/questionlib.php
->
line 817
/lib/questionlib.php
->
line 829
/lib/questionlib.php
->
line 839
/lib/questionlib.php
->
line 844
/lib/questionlib.php
->
line 845
/lib/filelib.php
->
line 1069
/lib/filelib.php
->
line 1077
/lib/filestorage/file_storage.php
->
line 955
/lib/filestorage/file_storage.php
->
line 964
/question/type/numerical/questiontype.php
->
line 493
/question/type/numerical/questiontype.php
->
line 496
/question/type/numerical/questiontype.php
->
line 497
/question/type/numerical/questiontype.php
->
line 498
/question/type/match/questiontype.php
->
line 184
/question/type/match/questiontype.php
->
line 188
/question/type/match/questiontype.php
->
line 194
/question/type/match/questiontype.php
->
line 197
/question/type/match/questiontype.php
->
line 198
/backup/moodle2/restore_stepslib.php
->
line 4370
/backup/moodle2/restore_stepslib.php
->
line 4372
/backup/moodle2/restore_stepslib.php
->
line 4373
/backup/moodle2/restore_stepslib.php
->
line 5161
/backup/moodle2/restore_stepslib.php
->
line 5162
/backup/moodle2/restore_stepslib.php
->
line 5506
/backup/moodle2/restore_stepslib.php
->
line 5509
/mod/assign/locallib.php
->
line 9046
/mod/assign/locallib.php
->
line 9064
/question/type/questiontypebase.php
->
line 1460
/question/type/questiontypebase.php
->
line 1463
/question/type/questiontypebase.php
->
line 1465
/question/type/questiontypebase.php
->
line 1478
/question/type/questiontypebase.php
->
line 1487
/question/type/questiontypebase.php
->
line 1490
/question/type/questiontypebase.php
->
line 1503
/question/type/questiontypebase.php
->
line 1511
/question/type/questiontypebase.php
->
line 1525
/question/type/questiontypebase.php
->
line 1530
/question/type/questiontypebase.php
->
line 1532
/question/type/questiontypebase.php
->
line 1534
/question/bank/customfields/backup/moodle2/restore_qbank_customfields_plugin.class.php
->
line 46
/question/bank/customfields/backup/moodle2/restore_qbank_customfields_plugin.class.php
->
line 47
/question/bank/editquestion/question.php
->
line 269
/question/bank/editquestion/question.php
->
line 271
/question/type/calculated/questiontype.php
->
line 1815
/question/type/calculated/questiontype.php
->
line 1818
/question/type/calculated/questiontype.php
->
line 1819
/question/type/calculated/questiontype.php
->
line 1820
/lib/formslib.php
->
line 919
/lib/formslib.php
->
line 950
/lib/formslib.php
->
line 957
/lib/formslib.php
->
line 965
/lib/formslib.php
->
line 972
/question/type/ddimageortext/questiontype.php
->
line 139
/question/type/ddimageortext/questiontype.php
->
line 143
/question/type/ddimageortext/questiontype.php
->
line 145
/question/type/ddimageortext/questiontype.php
->
line 150
/question/type/ddimageortext/questiontype.php
->
line 153
/question/type/ddimageortext/questiontype.php
->
line 154
/backup/util/dbops/restore_dbops.class.php
->
line 935
/backup/util/dbops/restore_dbops.class.php
->
line 942
/backup/util/dbops/restore_dbops.class.php
->
line 1013
/backup/util/dbops/restore_dbops.class.php
->
line 1019
/backup/util/dbops/restore_dbops.class.php
->
line 1057
/backup/util/dbops/restore_dbops.class.php
->
line 1070
/backup/util/dbops/restore_dbops.class.php
->
line 1082
/backup/util/dbops/restore_dbops.class.php
->
line 1114
/backup/util/dbops/restore_dbops.class.php
->
line 1120
/question/type/calculatedmulti/questiontype.php
->
line 291
/question/type/calculatedmulti/questiontype.php
->
line 294
/question/type/calculatedmulti/questiontype.php
->
line 295
/question/type/calculatedmulti/questiontype.php
->
line 296
/question/type/calculatedmulti/questiontype.php
->
line 299
/question/type/calculatedmulti/questiontype.php
->
line 301
/question/type/calculatedmulti/questiontype.php
->
line 303
/question/type/randomsamatch/questiontype.php
->
line 107
/question/type/randomsamatch/questiontype.php
->
line 108
/question/type/randomsamatch/questiontype.php
->
line 110
/question/type/randomsamatch/questiontype.php
->
line 111
/question/type/gapselect/questiontypebase.php
->
line 347
/question/type/gapselect/questiontypebase.php
->
line 348
/question/type/gapselect/questiontypebase.php
->
line 349
/question/type/gapselect/questiontypebase.php
->
line 350
/question/type/ddmarker/questiontype.php
->
line 250
/question/type/ddmarker/questiontype.php
->
line 254
/question/type/ddmarker/questiontype.php
->
line 256
/question/type/ddmarker/questiontype.php
->
line 258
/question/type/ddmarker/questiontype.php
->
line 259
/question/type/essay/questiontype.php
->
line 198
/question/type/essay/questiontype.php
->
line 199
/question/type/essay/questiontype.php
->
line 202
/question/type/multianswer/questiontype.php
->
line 331
/question/type/multianswer/questiontype.php
->
line 332
/question/type/multianswer/questiontype.php
->
line 333