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)
parentcontext
[
Top level directory
]
Variable Cross Reference
at:
/admin/roles/lib.php
->
line 42
/lib/questionlib.php
->
line 273
/blocks/edit_form.php
->
line 100
/lib/blocklib.php
->
line 1431
/lib/blocklib.php
->
line 1609
/lib/blocklib.php
->
line 1780
/lib/blocklib.php
->
line 2190
/lib/blocklib.php
->
line 2280
/lib/blocklib.php
->
line 2308
/lib/blocklib.php
->
line 2321
/admin/roles/usersroles.php
->
line 108
/admin/tool/policy/tests/privacy/provider_test.php
->
line 126
/repository/contentbank/classes/browser/contentbank_browser.php
->
line 119
/admin/roles/classes/override_permissions_table_advanced.php
->
line 79
/blocks/html/lib.php
->
line 48
/blocks/html/lib.php
->
line 74
/course/tests/management_helper_test.php
->
line 89
/course/tests/management_helper_test.php
->
line 246
/admin/tool/capability/locallib.php
->
line 83
/blocks/activity_results/block_activity_results.php
->
line 91
/course/externallib.php
->
line 2151
/course/externallib.php
->
line 2154
/lib/tests/context_block_test.php
->
line 98
/lib/setuplib.php
->
line 221
/course/classes/management/helper.php
->
line 276
/cohort/lib.php
->
line 151
/h5p/classes/api.php
->
line 539
/lib/navigationlib.php
->
line 968
/lib/accesslib.php
->
line 6813
/lib/accesslib.php
->
line 7075
/lib/accesslib.php
->
line 7374
/lib/accesslib.php
->
line 7563
/lib/accesslib.php
->
line 7584
/enrol/category/classes/observer.php
->
line 53
/enrol/category/classes/observer.php
->
line 111
/lib/pagelib.php
->
line 1187
/course/tests/courselib_test.php
->
line 1492
/blocks/tags/edit_form.php
->
line 57
/enrol/meta/locallib.php
->
line 112
/enrol/meta/locallib.php
->
line 326
/enrol/meta/locallib.php
->
line 460
/course/classes/category.php
->
line 1654
/enrol/meta/classes/observer.php
->
line 120
/enrol/meta/classes/observer.php
->
line 150
/admin/lock.php
->
line 36
Referenced 185 times:
/admin/roles/lib.php
->
line 42
/admin/roles/lib.php
->
line 43
/lib/questionlib.php
->
line 273
/lib/questionlib.php
->
line 274
/lib/questionlib.php
->
line 275
/lib/questionlib.php
->
line 1943
/lib/questionlib.php
->
line 1954
/blog/lib.php
->
line 1033
/mod/data/lib.php
->
line 4015
/blocks/edit_form.php
->
line 100
/blocks/edit_form.php
->
line 101
/blocks/edit_form.php
->
line 128
/blocks/edit_form.php
->
line 130
/blocks/edit_form.php
->
line 134
/blocks/edit_form.php
->
line 134
/blocks/edit_form.php
->
line 137
/blocks/edit_form.php
->
line 146
/blocks/edit_form.php
->
line 194
/lib/blocklib.php
->
line 1431
/lib/blocklib.php
->
line 1432
/lib/blocklib.php
->
line 1432
/lib/blocklib.php
->
line 1609
/lib/blocklib.php
->
line 1612
/lib/blocklib.php
->
line 1615
/lib/blocklib.php
->
line 1615
/lib/blocklib.php
->
line 1618
/lib/blocklib.php
->
line 1780
/lib/blocklib.php
->
line 1783
/lib/blocklib.php
->
line 1786
/lib/blocklib.php
->
line 1820
/lib/blocklib.php
->
line 1820
/lib/blocklib.php
->
line 1828
/lib/blocklib.php
->
line 2190
/lib/blocklib.php
->
line 2211
/lib/blocklib.php
->
line 2234
/lib/blocklib.php
->
line 2250
/lib/blocklib.php
->
line 2259
/lib/blocklib.php
->
line 2264
/lib/blocklib.php
->
line 2264
/lib/blocklib.php
->
line 2280
/lib/blocklib.php
->
line 2308
/lib/blocklib.php
->
line 2321
/lib/blocklib.php
->
line 2322
/admin/roles/usersroles.php
->
line 108
/admin/roles/usersroles.php
->
line 109
/admin/roles/usersroles.php
->
line 110
/admin/tool/policy/tests/privacy/provider_test.php
->
line 126
/admin/tool/policy/tests/privacy/provider_test.php
->
line 151
/admin/tool/policy/tests/privacy/provider_test.php
->
line 183
/repository/contentbank/classes/browser/contentbank_browser.php
->
line 119
/repository/contentbank/classes/browser/contentbank_browser.php
->
line 120
/report/participation/lib.php
->
line 50
/admin/roles/classes/override_permissions_table_advanced.php
->
line 79
/admin/roles/classes/override_permissions_table_advanced.php
->
line 80
/mod/h5pactivity/lib.php
->
line 323
/question/bank/customfields/classes/customfield/question_handler.php
->
line 41
/question/bank/customfields/classes/customfield/question_handler.php
->
line 150
/question/bank/customfields/classes/customfield/question_handler.php
->
line 159
/question/bank/customfields/classes/customfield/question_handler.php
->
line 160
/mod/forum/lib.php
->
line 5689
/blocks/html/lib.php
->
line 48
/blocks/html/lib.php
->
line 49
/blocks/html/lib.php
->
line 51
/blocks/html/lib.php
->
line 54
/blocks/html/lib.php
->
line 54
/blocks/html/lib.php
->
line 74
/blocks/html/lib.php
->
line 75
/report/outline/lib.php
->
line 103
/course/report/lib.php
->
line 33
/mod/wiki/lib.php
->
line 659
/tag/lib.php
->
line 35
/message/lib.php
->
line 566
/admin/lib.php
->
line 35
/mod/imscp/lib.php
->
line 366
/mod/book/lib.php
->
line 546
/mod/choice/lib.php
->
line 877
/mod/page/lib.php
->
line 391
/user/lib.php
->
line 653
/mod/url/lib.php
->
line 260
/mod/survey/lib.php
->
line 845
/report/stats/lib.php
->
line 110
/course/tests/management_helper_test.php
->
line 89
/course/tests/management_helper_test.php
->
line 90
/course/tests/management_helper_test.php
->
line 94
/course/tests/management_helper_test.php
->
line 95
/course/tests/management_helper_test.php
->
line 246
/course/tests/management_helper_test.php
->
line 248
/course/tests/management_helper_test.php
->
line 252
/course/tests/management_helper_test.php
->
line 253
/admin/tool/capability/locallib.php
->
line 83
/admin/tool/capability/locallib.php
->
line 84
/admin/tool/capability/locallib.php
->
line 85
/course/lib.php
->
line 2988
/mod/resource/lib.php
->
line 427
/mod/chat/lib.php
->
line 1364
/course/classes/customfield/course_handler.php
->
line 49
/course/classes/customfield/course_handler.php
->
line 141
/course/classes/customfield/course_handler.php
->
line 151
/course/classes/customfield/course_handler.php
->
line 152
/blocks/activity_results/block_activity_results.php
->
line 91
/blocks/activity_results/block_activity_results.php
->
line 92
/blocks/activity_results/block_activity_results.php
->
line 95
/course/externallib.php
->
line 2151
/course/externallib.php
->
line 2154
/course/externallib.php
->
line 2156
/course/externallib.php
->
line 2157
/mod/workshop/lib.php
->
line 1648
/lib/tests/context_block_test.php
->
line 98
/lib/tests/context_block_test.php
->
line 101
/lib/tests/context_block_test.php
->
line 104
/lib/tests/context_block_test.php
->
line 105
/lib/setuplib.php
->
line 221
/lib/setuplib.php
->
line 222
/course/classes/management/helper.php
->
line 276
/course/classes/management/helper.php
->
line 277
/course/classes/management/helper.php
->
line 277
/cohort/lib.php
->
line 151
/cohort/lib.php
->
line 153
/h5p/classes/api.php
->
line 539
/h5p/classes/api.php
->
line 540
/h5p/classes/api.php
->
line 542
/h5p/classes/api.php
->
line 545
/h5p/classes/api.php
->
line 545
/lib/navigationlib.php
->
line 968
/lib/navigationlib.php
->
line 969
/lib/navigationlib.php
->
line 969
/report/progress/lib.php
->
line 61
/mod/lesson/lib.php
->
line 1242
/mod/quiz/lib.php
->
line 1873
/lib/accesslib.php
->
line 6813
/lib/accesslib.php
->
line 6814
/lib/accesslib.php
->
line 7075
/lib/accesslib.php
->
line 7076
/lib/accesslib.php
->
line 7374
/lib/accesslib.php
->
line 7375
/lib/accesslib.php
->
line 7563
/lib/accesslib.php
->
line 7564
/lib/accesslib.php
->
line 7584
/lib/accesslib.php
->
line 7585
/enrol/category/classes/observer.php
->
line 53
/enrol/category/classes/observer.php
->
line 54
/enrol/category/classes/observer.php
->
line 72
/enrol/category/classes/observer.php
->
line 86
/enrol/category/classes/observer.php
->
line 111
/enrol/category/classes/observer.php
->
line 112
/enrol/category/classes/observer.php
->
line 129
/lib/pagelib.php
->
line 1187
/lib/pagelib.php
->
line 1188
/report/log/lib.php
->
line 142
/mod/folder/lib.php
->
line 302
/mod/feedback/lib.php
->
line 2869
/course/tests/courselib_test.php
->
line 1492
/course/tests/courselib_test.php
->
line 1494
/course/tests/courselib_test.php
->
line 1506
/notes/lib.php
->
line 356
/blocks/tags/edit_form.php
->
line 57
/blocks/tags/edit_form.php
->
line 58
/blocks/tags/edit_form.php
->
line 59
/blocks/tags/edit_form.php
->
line 62
/blocks/tags/edit_form.php
->
line 63
/blocks/tags/edit_form.php
->
line 63
/mod/assign/lib.php
->
line 613
/mod/glossary/lib.php
->
line 3290
/enrol/meta/locallib.php
->
line 112
/enrol/meta/locallib.php
->
line 124
/enrol/meta/locallib.php
->
line 326
/enrol/meta/locallib.php
->
line 328
/enrol/meta/locallib.php
->
line 460
/enrol/meta/locallib.php
->
line 462
/course/classes/category.php
->
line 1654
/course/classes/category.php
->
line 1655
/course/classes/category.php
->
line 1661
/course/classes/category.php
->
line 1662
/course/classes/category.php
->
line 1665
/enrol/meta/classes/observer.php
->
line 120
/enrol/meta/classes/observer.php
->
line 123
/enrol/meta/classes/observer.php
->
line 127
/enrol/meta/classes/observer.php
->
line 150
/enrol/meta/classes/observer.php
->
line 153
/enrol/meta/classes/observer.php
->
line 157
/admin/lock.php
->
line 36
/admin/lock.php
->
line 37
/admin/lock.php
->
line 37
/report/completion/lib.php
->
line 119
/mod/scorm/lib.php
->
line 1116