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)
CONTEXT_BLOCK
[
Top level directory
]
Constant Cross Reference
at:
/lib/accesslib.php
->
line 136
Referenced 145 times:
/comment/locallib.php
->
line 125
/blocks/glossary_random/db/access.php
->
line 43
/blocks/search_forums/db/access.php
->
line 33
/admin/tool/uploadcourse/tests/course_test.php
->
line 1598
/blocks/recent_activity/db/access.php
->
line 33
/admin/roles/lib.php
->
line 41
/message/classes/search/base_message.php
->
line 171
/blocks/social_activities/db/access.php
->
line 33
/blocks/private_files/db/access.php
->
line 43
/backup/converter/moodle1/tests/moodle1_converter_test.php
->
line 225
/backup/converter/moodle1/tests/moodle1_converter_test.php
->
line 226
/backup/converter/moodle1/tests/moodle1_converter_test.php
->
line 234
/backup/converter/moodle1/tests/moodle1_converter_test.php
->
line 235
/blocks/html/classes/privacy/provider.php
->
line 85
/blocks/html/classes/privacy/provider.php
->
line 148
/blocks/completionstatus/db/access.php
->
line 33
/blocks/admin_bookmarks/db/access.php
->
line 43
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 211
/blocks/accessreview/db/access.php
->
line 32
/blocks/accessreview/db/access.php
->
line 43
/blocks/online_users/db/access.php
->
line 43
/blocks/online_users/db/access.php
->
line 55
/lib/filelib.php
->
line 5183
/search/classes/base_block.php
->
line 52
/search/classes/base_block.php
->
line 140
/search/classes/base_block.php
->
line 332
/search/classes/base_block.php
->
line 394
/blocks/blog_recent/db/access.php
->
line 33
/search/classes/base.php
->
line 508
/lib/blocklib.php
->
line 732
/lib/blocklib.php
->
line 2459
/blocks/html/db/access.php
->
line 43
/search/classes/base_mod.php
->
line 183
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 513
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 1620
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 2189
/admin/tool/dataprivacy/tests/api_test.php
->
line 1292
/admin/tool/dataprivacy/tests/api_test.php
->
line 1852
/admin/tool/dataprivacy/tests/api_test.php
->
line 1963
/admin/roles/tests/privacy/provider_test.php
->
line 222
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 53
/lib/db/access.php
->
line 386
/lib/db/access.php
->
line 1841
/lib/db/access.php
->
line 1855
/admin/roles/classes/privacy/provider.php
->
line 115
/admin/roles/classes/privacy/provider.php
->
line 140
/admin/roles/classes/privacy/provider.php
->
line 228
/admin/roles/classes/privacy/provider.php
->
line 274
/repository/lib.php
->
line 775
/blocks/html/lib.php
->
line 37
/blocks/html/backup/moodle1/lib.php
->
line 36
/admin/tool/dataprivacy/classes/output/data_registry_page.php
->
line 316
/blocks/activity_modules/db/access.php
->
line 33
/lib/filterlib.php
->
line 1374
/blocks/navigation/db/access.php
->
line 43
/lib/tests/db/upgradelib_test.php
->
line 364
/admin/roles/override.php
->
line 118
/lib/db/upgradelib.php
->
line 1404
/lib/db/upgradelib.php
->
line 1432
/blocks/badges/db/access.php
->
line 29
/lib/db/upgrade.php
->
line 1180
/lib/db/upgrade.php
->
line 1282
/blocks/classes/privacy/provider.php
->
line 100
/blocks/classes/privacy/provider.php
->
line 116
/blocks/classes/privacy/provider.php
->
line 140
/blocks/classes/privacy/provider.php
->
line 212
/blocks/classes/privacy/provider.php
->
line 233
/blocks/classes/privacy/provider.php
->
line 260
/blocks/course_summary/db/access.php
->
line 33
/blocks/comments/db/access.php
->
line 43
/blocks/selfcompletion/db/access.php
->
line 33
/blocks/course_list/db/access.php
->
line 43
/blocks/settings/db/access.php
->
line 43
/admin/tool/dataprivacy/classes/output/data_deletion_page.php
->
line 79
/blocks/blog_menu/db/access.php
->
line 33
/blocks/tags/db/access.php
->
line 43
/lib/tests/accesslib_test.php
->
line 3095
/lib/tests/accesslib_test.php
->
line 3189
/lib/tests/accesslib_test.php
->
line 3659
/lib/tests/accesslib_test.php
->
line 3684
/lib/tests/accesslib_test.php
->
line 3690
/blocks/feedback/db/access.php
->
line 33
/blocks/news_items/db/access.php
->
line 43
/lib/tests/context_block_test.php
->
line 85
/lib/tests/context_block_test.php
->
line 95
/blocks/activity_results/db/access.php
->
line 33
/blocks/tag_flickr/db/access.php
->
line 33
/privacy/tests/contextlist_base_test.php
->
line 167
/privacy/tests/contextlist_base_test.php
->
line 196
/privacy/tests/contextlist_base_test.php
->
line 205
/privacy/tests/contextlist_base_test.php
->
line 233
/privacy/tests/contextlist_base_test.php
->
line 260
/privacy/tests/contextlist_base_test.php
->
line 269
/blocks/mentees/db/access.php
->
line 43
/admin/roles/check.php
->
line 85
/admin/roles/check.php
->
line 116
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 94
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 111
/blocks/rss_client/backup/moodle1/lib.php
->
line 34
/blocks/tag_youtube/db/access.php
->
line 33
/admin/roles/assign.php
->
line 151
/admin/roles/assign.php
->
line 181
/search/classes/manager.php
->
line 861
/search/classes/manager.php
->
line 864
/search/classes/manager.php
->
line 902
/search/classes/manager.php
->
line 914
/h5p/classes/api.php
->
line 530
/h5p/classes/api.php
->
line 627
/blocks/rss_client/db/access.php
->
line 43
/blocks/rss_client/db/access.php
->
line 55
/blocks/rss_client/db/access.php
->
line 68
/lib/navigationlib.php
->
line 1491
/lib/navigationlib.php
->
line 4320
/lib/navigationlib.php
->
line 5455
/backup/converter/moodle1/handlerlib.php
->
line 2092
/lib/accesslib.php
->
line 136
/lib/accesslib.php
->
line 1266
/lib/accesslib.php
->
line 5982
/lib/accesslib.php
->
line 6791
/lib/accesslib.php
->
line 7043
/lib/accesslib.php
->
line 7476
/lib/accesslib.php
->
line 7542
/lib/accesslib.php
->
line 7578
/lib/accesslib.php
->
line 7582
/lib/accesslib.php
->
line 7585
/lib/accesslib.php
->
line 7627
/lib/accesslib.php
->
line 7628
/lib/accesslib.php
->
line 7643
/lib/accesslib.php
->
line 7658
/lib/accesslib.php
->
line 7669
/lib/accesslib.php
->
line 7719
/lib/pagelib.php
->
line 1235
/blocks/site_main_menu/db/access.php
->
line 33
/blocks/mnet_hosts/db/access.php
->
line 43
/blocks/calendar_upcoming/db/access.php
->
line 43
/admin/roles/permissions.php
->
line 94
/admin/roles/permissions.php
->
line 124
/blocks/globalsearch/db/access.php
->
line 41
/search/tests/manager_test.php
->
line 877
/blocks/section_links/db/access.php
->
line 33
/blocks/blog_tags/db/access.php
->
line 33
/user/classes/search/user.php
->
line 60
/blocks/calendar_month/db/access.php
->
line 43
/blocks/login/db/access.php
->
line 33
/blocks/myprofile/db/access.php
->
line 43