Quick Navigation
×
Moodle 4.2 XRef and Diffs
Home
Quick Navigation
Moodle 4.2
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 4.2 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.2.x will end 22 April 2024 (12 months).
Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.
Moodle 4.2 Database Schema (by Marcus Green)
CONTEXT_SYSTEM
[
Top level directory
]
Constant Cross Reference
at:
/lib/accesslib.php
->
line 122
Referenced 338 times:
/blocks/mnet_hosts/db/access.php
->
line 31
/enrol/locallib.php
->
line 1119
/admin/roles/classes/privacy/provider.php
->
line 110
/admin/roles/classes/privacy/provider.php
->
line 135
/admin/roles/classes/privacy/provider.php
->
line 223
/admin/roles/classes/privacy/provider.php
->
line 269
/blocks/mentees/db/access.php
->
line 31
/lib/classes/context_helper.php
->
line 61
/question/classes/local/bank/context_to_string_translator.php
->
line 84
/lib/classes/event/capability_unassigned.php
->
line 74
/cohort/edit.php
->
line 46
/lib/tests/context_helper_test.php
->
line 36
/lib/tests/context_helper_test.php
->
line 37
/lib/tests/context_helper_test.php
->
line 90
/lib/tests/context_helper_test.php
->
line 91
/lib/tests/context_helper_test.php
->
line 125
/lib/tests/context_helper_test.php
->
line 126
/lib/tests/context_helper_test.php
->
line 153
/lib/tests/context_helper_test.php
->
line 154
/lib/tests/context_helper_test.php
->
line 166
/lib/tests/context_helper_test.php
->
line 170
/lib/tests/context_helper_test.php
->
line 178
/lib/tests/context_helper_test.php
->
line 186
/lib/tests/context_helper_test.php
->
line 194
/lib/tests/context_helper_test.php
->
line 211
/lib/tests/context_helper_test.php
->
line 219
/lib/tests/context_helper_test.php
->
line 227
/lib/tests/context_helper_test.php
->
line 235
/lib/tests/context_helper_test.php
->
line 243
/lib/tests/context_helper_test.php
->
line 279
/lib/tests/context_helper_test.php
->
line 460
/admin/tool/dataprivacy/classes/api.php
->
line 1044
/admin/tool/dataprivacy/pluginregistry.php
->
line 30
/enrol/category/db/access.php
->
line 33
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 926
/admin/tool/cohortroles/classes/privacy/provider.php
->
line 100
/admin/tool/cohortroles/classes/privacy/provider.php
->
line 122
/admin/tool/cohortroles/classes/privacy/provider.php
->
line 153
/admin/tool/cohortroles/classes/privacy/provider.php
->
line 225
/admin/tool/cohortroles/classes/privacy/provider.php
->
line 261
/admin/tool/cohortroles/classes/privacy/provider.php
->
line 300
/lib/tests/accesslib_test.php
->
line 3381
/lib/tests/accesslib_test.php
->
line 3518
/lib/tests/accesslib_test.php
->
line 3871
/lib/tests/accesslib_test.php
->
line 3872
/lib/tests/accesslib_test.php
->
line 3983
/lib/navigationlib.php
->
line 1500
/lib/navigationlib.php
->
line 4341
/lib/navigationlib.php
->
line 4408
/lib/navigationlib.php
->
line 4486
/admin/tool/usertours/lib.php
->
line 102
/course/classes/privacy/provider.php
->
line 164
/blocks/comments/db/access.php
->
line 31
/admin/tool/brickfield/classes/local/areas/core_question/answerbase.php
->
line 89
/blocks/timeline/db/access.php
->
line 31
/admin/tool/lp/competencies.php
->
line 71
/report/infectedfiles/classes/privacy/provider.php
->
line 90
/report/infectedfiles/classes/privacy/provider.php
->
line 151
/admin/tool/dataprivacy/tests/api_test.php
->
line 1122
/admin/tool/dataprivacy/tests/api_test.php
->
line 1154
/admin/tool/dataprivacy/tests/api_test.php
->
line 1159
/admin/tool/dataprivacy/tests/api_test.php
->
line 1163
/admin/tool/dataprivacy/tests/api_test.php
->
line 1187
/admin/tool/dataprivacy/tests/api_test.php
->
line 1188
/admin/tool/dataprivacy/tests/api_test.php
->
line 1228
/admin/tool/dataprivacy/tests/api_test.php
->
line 1233
/admin/tool/dataprivacy/tests/api_test.php
->
line 1234
/admin/tool/dataprivacy/tests/api_test.php
->
line 1275
/admin/tool/dataprivacy/tests/api_test.php
->
line 1302
/admin/tool/dataprivacy/tests/api_test.php
->
line 1582
/admin/tool/dataprivacy/tests/api_test.php
->
line 2014
/badges/classes/privacy/provider.php
->
line 198
/badges/classes/privacy/provider.php
->
line 206
/badges/classes/privacy/provider.php
->
line 274
/badges/classes/privacy/provider.php
->
line 281
/badges/classes/privacy/provider.php
->
line 288
/badges/classes/privacy/provider.php
->
line 292
/report/questioninstances/db/access.php
->
line 31
/repository/lib.php
->
line 1860
/blocks/comments/tests/privacy/provider_test.php
->
line 120
/blocks/calendar_upcoming/db/access.php
->
line 31
/blocks/settings/db/access.php
->
line 31
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 40
/cohort/classes/privacy/provider.php
->
line 77
/cohort/classes/privacy/provider.php
->
line 118
/blocks/recentlyaccessedcourses/db/access.php
->
line 31
/repository/contentbank/classes/helper.php
->
line 46
/lib/classes/event/role_capabilities_updated.php
->
line 78
/mod/forum/tests/event/events_test.php
->
line 1048
/report/security/db/access.php
->
line 32
/repository/onedrive/lib.php
->
line 912
/search/classes/base_block.php
->
line 317
/lib/classes/context.php
->
line 576
/lib/classes/context.php
->
line 648
/lib/tests/context/system_test.php
->
line 71
/theme/boost/classes/boostnavbar.php
->
line 128
/lib/questionlib.php
->
line 1267
/lib/questionlib.php
->
line 1527
/lib/accesslib.php
->
line 122
/blocks/tags/edit_form.php
->
line 62
/lib/filelib.php
->
line 4409
/lib/filelib.php
->
line 4465
/lib/filelib.php
->
line 4522
/lib/filelib.php
->
line 4569
/lib/filelib.php
->
line 5125
/lib/filelib.php
->
line 5161
/backup/backupfilesedit.php
->
line 59
/question/type/random/questiontype.php
->
line 160
/report/courseoverview/db/access.php
->
line 32
/course/lib.php
->
line 3913
/course/lib.php
->
line 4679
/course/lib.php
->
line 4695
/competency/classes/competency_framework.php
->
line 234
/admin/tool/cohortroles/tests/privacy/provider_test.php
->
line 87
/cohort/externallib.php
->
line 119
/cohort/externallib.php
->
line 216
/cohort/externallib.php
->
line 279
/cohort/externallib.php
->
line 555
/cohort/externallib.php
->
line 698
/cohort/externallib.php
->
line 781
/cohort/externallib.php
->
line 836
/blocks/rss_client/db/access.php
->
line 31
/admin/tool/usertours/db/access.php
->
line 31
/blog/lib.php
->
line 384
/blog/lib.php
->
line 1105
/blog/lib.php
->
line 1116
/blocks/html/db/access.php
->
line 31
/blocks/edit_form.php
->
line 201
/admin/tool/dataprivacy/classes/output/data_registry_page.php
->
line 129
/admin/tool/dataprivacy/classes/output/data_registry_page.php
->
line 130
/backup/converter/moodle1/handlerlib.php
->
line 358
/backup/converter/moodle1/handlerlib.php
->
line 1157
/backup/converter/moodle1/handlerlib.php
->
line 1158
/backup/converter/moodle1/handlerlib.php
->
line 1400
/backup/converter/moodle1/handlerlib.php
->
line 1460
/admin/tool/dataprivacy/tests/expired_data_requests_test.php
->
line 187
/admin/tool/dataprivacy/classes/form/contextlevel.php
->
line 77
/admin/tool/dataprivacy/classes/form/contextlevel.php
->
line 82
/admin/roles/assign.php
->
line 158
/admin/roles/assign.php
->
line 221
/admin/roles/assign.php
->
line 286
/grade/classes/privacy/provider.php
->
line 331
/grade/classes/privacy/provider.php
->
line 859
/grade/classes/privacy/provider.php
->
line 953
/admin/tool/moodlenet/classes/local/import_backup_helper.php
->
line 174
/admin/tool/brickfield/classes/local/areas/core_question/base.php
->
line 118
/admin/tool/brickfield/classes/local/areas/core_question/base.php
->
line 184
/admin/tool/uploaduser/tests/upload_users_test.php
->
line 66
/admin/tool/uploaduser/tests/upload_users_test.php
->
line 132
/admin/tool/lpmigrate/db/access.php
->
line 30
/report/insights/insights.php
->
line 92
/lib/testing/generator/repository_generator.php
->
line 146
/blocks/globalsearch/db/access.php
->
line 31
/blocks/online_users/db/access.php
->
line 31
/mod/feedback/lib.php
->
line 255
/admin/tool/moodlenet/tests/import_backup_helper_test.php
->
line 72
/admin/tool/lp/classes/page_helper.php
->
line 144
/admin/tool/lp/classes/page_helper.php
->
line 360
/admin/tool/lp/classes/page_helper.php
->
line 420
/repository/googledocs/lib.php
->
line 1027
/backup/converter/moodle1/tests/moodle1_converter_test.php
->
line 247
/backup/converter/moodle1/tests/moodle1_converter_test.php
->
line 248
/backup/converter/moodle1/tests/moodle1_converter_test.php
->
line 249
/user/classes/search/user.php
->
line 72
/report/insights/prediction.php
->
line 49
/blocks/admin_bookmarks/db/access.php
->
line 31
/blocks/glossary_random/db/access.php
->
line 31
/lib/db/access.php
->
line 63
/lib/db/access.php
->
line 69
/lib/db/access.php
->
line 81
/lib/db/access.php
->
line 93
/lib/db/access.php
->
line 104
/lib/db/access.php
->
line 115
/lib/db/access.php
->
line 125
/lib/db/access.php
->
line 134
/lib/db/access.php
->
line 375
/lib/db/access.php
->
line 469
/lib/db/access.php
->
line 491
/lib/db/access.php
->
line 502
/lib/db/access.php
->
line 513
/lib/db/access.php
->
line 582
/lib/db/access.php
->
line 603
/lib/db/access.php
->
line 615
/lib/db/access.php
->
line 626
/lib/db/access.php
->
line 636
/lib/db/access.php
->
line 697
/lib/db/access.php
->
line 787
/lib/db/access.php
->
line 1054
/lib/db/access.php
->
line 1119
/lib/db/access.php
->
line 1213
/lib/db/access.php
->
line 1226
/lib/db/access.php
->
line 1241
/lib/db/access.php
->
line 1247
/lib/db/access.php
->
line 1252
/lib/db/access.php
->
line 1264
/lib/db/access.php
->
line 1277
/lib/db/access.php
->
line 1287
/lib/db/access.php
->
line 1341
/lib/db/access.php
->
line 1352
/lib/db/access.php
->
line 1411
/lib/db/access.php
->
line 1520
/lib/db/access.php
->
line 1562
/lib/db/access.php
->
line 1624
/lib/db/access.php
->
line 1724
/lib/db/access.php
->
line 1735
/lib/db/access.php
->
line 1790
/lib/db/access.php
->
line 1822
/lib/db/access.php
->
line 1832
/lib/db/access.php
->
line 1842
/lib/db/access.php
->
line 1850
/lib/db/access.php
->
line 1883
/lib/db/access.php
->
line 1931
/lib/db/access.php
->
line 1940
/lib/db/access.php
->
line 1947
/lib/db/access.php
->
line 2025
/lib/db/access.php
->
line 2162
/lib/db/access.php
->
line 2170
/lib/db/access.php
->
line 2399
/lib/db/access.php
->
line 2435
/lib/db/access.php
->
line 2443
/lib/db/access.php
->
line 2470
/lib/db/access.php
->
line 2509
/lib/db/access.php
->
line 2653
/lib/db/access.php
->
line 2663
/lib/db/access.php
->
line 2673
/lib/db/access.php
->
line 2681
/admin/tool/monitor/db/access.php
->
line 56
/search/classes/base.php
->
line 67
/search/classes/base.php
->
line 489
/mod/assign/feedback/editpdf/lib.php
->
line 54
/admin/roles/usersroles.php
->
line 189
/admin/tool/generator/lib.php
->
line 48
/competency/classes/privacy/provider.php
->
line 593
/competency/classes/privacy/provider.php
->
line 602
/competency/classes/privacy/provider.php
->
line 616
/blocks/myoverview/db/access.php
->
line 31
/blocks/course_list/db/access.php
->
line 31
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 142
/course/classes/category.php
->
line 916
/course/classes/category.php
->
line 1659
/cohort/upload.php
->
line 39
/blocks/globalsearch/block_globalsearch.php
->
line 73
/cohort/index.php
->
line 45
/contentbank/classes/privacy/provider.php
->
line 107
/contentbank/classes/privacy/provider.php
->
line 127
/contentbank/classes/privacy/provider.php
->
line 157
/grade/grading/lib.php
->
line 180
/grade/grading/lib.php
->
line 211
/grade/grading/lib.php
->
line 334
/auth/shibboleth/lib.php
->
line 40
/report/status/db/access.php
->
line 32
/search/classes/manager.php
->
line 728
/search/classes/manager.php
->
line 735
/theme/boost/lib.php
->
line 83
/admin/tool/policy/classes/privacy/provider.php
->
line 116
/admin/tool/policy/classes/privacy/provider.php
->
line 179
/lib/classes/navigation/views/secondary.php
->
line 235
/repository/nextcloud/classes/access_controlled_link_manager.php
->
line 239
/mod/lti/classes/privacy/provider.php
->
line 386
/admin/tool/policy/lib.php
->
line 162
/mod/forum/classes/event/user_report_viewed.php
->
line 109
/mod/forum/classes/event/user_report_viewed.php
->
line 115
/admin/tool/dataprivacy/db/access.php
->
line 33
/admin/tool/dataprivacy/db/access.php
->
line 41
/admin/tool/dataprivacy/db/access.php
->
line 50
/blocks/private_files/db/access.php
->
line 31
/admin/tool/customlang/db/access.php
->
line 34
/admin/tool/customlang/db/access.php
->
line 44
/admin/tool/customlang/db/access.php
->
line 53
/admin/tool/policy/db/access.php
->
line 32
/admin/tool/policy/db/access.php
->
line 48
/admin/tool/policy/db/access.php
->
line 56
/admin/tool/lp/competencyframeworks.php
->
line 55
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 48
/blocks/myprofile/db/access.php
->
line 31
/blocks/calendar_month/db/access.php
->
line 31
/tag/classes/collection.php
->
line 369
/lib/tests/fixtures/fakeplugins/access/db/access.php
->
line 32
/lib/tests/fixtures/fakeplugins/access/db/access.php
->
line 40
/lib/tests/fixtures/fakeplugins/access/db/access.php
->
line 48
/lib/tests/fixtures/fakeplugins/access/db/access.php
->
line 56
/lib/tests/fixtures/fakeplugins/access/db/access.php
->
line 64
/lib/pagelib.php
->
line 1195
/h5p/lib.php
->
line 58
/h5p/lib.php
->
line 92
/admin/tool/uploaduser/db/access.php
->
line 33
/blocks/tags/db/access.php
->
line 31
/contentbank/classes/contentbank.php
->
line 41
/lib/classes/event/capability_assigned.php
->
line 92
/theme/classic/lib.php
->
line 148
/admin/roles/tests/privacy/provider_test.php
->
line 216
/backup/converter/moodle1/lib.php
->
line 545
/auth/cas/lib.php
->
line 42
/blocks/news_items/db/access.php
->
line 31
/admin/roles/classes/existing_role_holders.php
->
line 115
/cohort/lib.php
->
line 642
/lib/filebrowser/file_browser.php
->
line 82
/tag/classes/privacy/provider.php
->
line 217
/tag/classes/output/taglist.php
->
line 78
/competency/classes/template.php
->
line 158
/message/output/airnotifier/db/access.php
->
line 32
/admin/tool/brickfield/db/access.php
->
line 43
/blocks/navigation/db/access.php
->
line 31
/question/bank/customfields/db/access.php
->
line 43
/blocks/starredcourses/db/access.php
->
line 31
/search/classes/base_mod.php
->
line 143
/blocks/recentlyaccesseditems/db/access.php
->
line 27
/course/classes/customfield/course_handler.php
->
line 105
/blocks/lp/db/access.php
->
line 32
/blocks/lp/db/access.php
->
line 42
/calendar/classes/privacy/provider.php
->
line 102
/calendar/classes/privacy/provider.php
->
line 133
/calendar/classes/privacy/provider.php
->
line 179
/calendar/classes/privacy/provider.php
->
line 279
/calendar/classes/privacy/provider.php
->
line 454
/calendar/classes/privacy/provider.php
->
line 475
/calendar/classes/privacy/provider.php
->
line 525
/calendar/classes/privacy/provider.php
->
line 536
/calendar/classes/privacy/provider.php
->
line 592
/calendar/classes/privacy/provider.php
->
line 657
/report/performance/db/access.php
->
line 31
/grade/edit/letter/index.php
->
line 53
/backup/util/dbops/restore_dbops.class.php
->
line 518
/backup/util/dbops/restore_dbops.class.php
->
line 578
/backup/util/dbops/restore_dbops.class.php
->
line 814
/admin/roles/override.php
->
line 96
/mod/quiz/accessrule/seb/db/access.php
->
line 31
/admin/tool/dataprivacy/dataregistry.php
->
line 30
/mod/bigbluebuttonbn/classes/local/helpers/files.php
->
line 57
/mod/bigbluebuttonbn/classes/local/helpers/files.php
->
line 226
/blocks/badges/db/access.php
->
line 39
/question/editlib.php
->
line 502
/admin/roles/permissions.php
->
line 102
/admin/tool/dataprivacy/classes/data_registry.php
->
line 117
/admin/tool/dataprivacy/classes/data_registry.php
->
line 291
/admin/tool/dataprivacy/classes/data_registry.php
->
line 331
/admin/roles/check.php
->
line 93
/message/classes/search/base_message.php
->
line 181