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_USER
[
Top level directory
]
Constant Cross Reference
at:
/lib/accesslib.php
->
line 124
Referenced 363 times:
/report/insights/prediction.php
->
line 51
/message/classes/search/base_message.php
->
line 44
/message/classes/search/base_message.php
->
line 175
/lib/tests/outputcomponents_test.php
->
line 173
/user/profile/field/checkbox/classes/privacy/provider.php
->
line 77
/user/profile/field/checkbox/classes/privacy/provider.php
->
line 122
/user/profile/field/checkbox/classes/privacy/provider.php
->
line 144
/user/profile/field/checkbox/classes/privacy/provider.php
->
line 171
/repository/manage_instances.php
->
line 86
/blog/classes/privacy/provider.php
->
line 114
/blog/classes/privacy/provider.php
->
line 143
/blog/classes/privacy/provider.php
->
line 197
/blog/classes/privacy/provider.php
->
line 232
/blog/classes/privacy/provider.php
->
line 412
/blog/classes/privacy/provider.php
->
line 437
/blog/classes/privacy/provider.php
->
line 478
/blocks/moodleblock.class.php
->
line 582
/blocks/html/classes/privacy/provider.php
->
line 86
/blocks/html/classes/privacy/provider.php
->
line 117
/blog/lib.php
->
line 349
/blog/lib.php
->
line 371
/blog/lib.php
->
line 375
/lib/filebrowser/file_browser.php
->
line 84
/calendar/tests/privacy/provider_test.php
->
line 187
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 215
/admin/tool/dataprivacy/lib.php
->
line 251
/lib/editor/atto/classes/privacy/provider.php
->
line 84
/lib/editor/atto/classes/privacy/provider.php
->
line 138
/lib/filelib.php
->
line 4512
/lib/filelib.php
->
line 4547
/lib/filelib.php
->
line 4659
/lib/filelib.php
->
line 4713
/lib/filelib.php
->
line 4733
/lib/filelib.php
->
line 4791
/blocks/edit_form.php
->
line 134
/blocks/edit_form.php
->
line 194
/search/classes/base_block.php
->
line 324
/admin/tool/policy/classes/acceptances_table.php
->
line 115
/badges/classes/privacy/provider.php
->
line 156
/badges/classes/privacy/provider.php
->
line 180
/badges/classes/privacy/provider.php
->
line 199
/badges/classes/privacy/provider.php
->
line 228
/badges/classes/privacy/provider.php
->
line 272
/badges/classes/privacy/provider.php
->
line 280
/badges/classes/privacy/provider.php
->
line 328
/badges/classes/privacy/provider.php
->
line 329
/badges/classes/privacy/provider.php
->
line 384
/badges/classes/privacy/provider.php
->
line 605
/badges/classes/privacy/provider.php
->
line 625
/badges/classes/privacy/provider.php
->
line 639
/lib/filestorage/file_storage.php
->
line 1990
/search/classes/base.php
->
line 510
/lib/blocklib.php
->
line 1828
/blocks/html/block_html.php
->
line 170
/admin/tool/policy/classes/privacy/provider.php
->
line 131
/admin/tool/policy/classes/privacy/provider.php
->
line 177
/search/classes/base_mod.php
->
line 184
/admin/roles/usersroles.php
->
line 182
/lib/outputrenderers.php
->
line 4329
/lib/outputrenderers.php
->
line 4578
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 41
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 73
/blocks/recentlyaccesseditems/classes/privacy/provider.php
->
line 76
/blocks/recentlyaccesseditems/classes/privacy/provider.php
->
line 157
/blocks/recentlyaccesseditems/classes/privacy/provider.php
->
line 173
/admin/tool/cohortroles/classes/api.php
->
line 170
/admin/tool/cohortroles/classes/api.php
->
line 205
/admin/tool/cohortroles/classes/api.php
->
line 231
/rss/classes/privacy/provider.php
->
line 73
/rss/classes/privacy/provider.php
->
line 109
/rss/classes/privacy/provider.php
->
line 124
/rss/classes/privacy/provider.php
->
line 162
/repository/classes/privacy/provider.php
->
line 92
/repository/classes/privacy/provider.php
->
line 136
/repository/classes/privacy/provider.php
->
line 184
/repository/classes/privacy/provider.php
->
line 224
/auth/oauth2/classes/privacy/provider.php
->
line 83
/auth/oauth2/classes/privacy/provider.php
->
line 145
/auth/oauth2/classes/privacy/provider.php
->
line 175
/lib/classes/event/base.php
->
line 239
/user/classes/table/participants_search.php
->
line 244
/admin/tool/messageinbound/classes/privacy/provider.php
->
line 150
/admin/tool/messageinbound/classes/privacy/provider.php
->
line 182
/admin/tool/messageinbound/classes/privacy/provider.php
->
line 210
/competency/classes/api.php
->
line 915
/competency/classes/api.php
->
line 5321
/admin/tool/policy/db/access.php
->
line 41
/analytics/classes/local/target/base.php
->
line 272
/admin/tool/dataprivacy/tests/api_test.php
->
line 1137
/admin/tool/dataprivacy/tests/api_test.php
->
line 1190
/admin/tool/dataprivacy/tests/api_test.php
->
line 1191
/admin/tool/dataprivacy/tests/api_test.php
->
line 1237
/admin/tool/dataprivacy/tests/api_test.php
->
line 1238
/admin/tool/dataprivacy/tests/api_test.php
->
line 1242
/admin/tool/dataprivacy/tests/api_test.php
->
line 1246
/admin/tool/dataprivacy/tests/api_test.php
->
line 1247
/admin/tool/dataprivacy/tests/api_test.php
->
line 1254
/admin/tool/dataprivacy/tests/api_test.php
->
line 1259
/admin/tool/dataprivacy/tests/api_test.php
->
line 1260
/admin/tool/dataprivacy/tests/api_test.php
->
line 1364
/admin/tool/dataprivacy/tests/api_test.php
->
line 2015
/admin/tool/dataprivacy/tests/api_test.php
->
line 2046
/admin/roles/tests/privacy/provider_test.php
->
line 230
/user/profile/field/textarea/classes/privacy/provider.php
->
line 77
/user/profile/field/textarea/classes/privacy/provider.php
->
line 122
/user/profile/field/textarea/classes/privacy/provider.php
->
line 144
/user/profile/field/textarea/classes/privacy/provider.php
->
line 171
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 49
/lib/db/access.php
->
line 535
/lib/db/access.php
->
line 545
/lib/db/access.php
->
line 594
/lib/db/access.php
->
line 1311
/lib/db/access.php
->
line 1346
/lib/db/access.php
->
line 1358
/lib/db/access.php
->
line 1372
/lib/db/access.php
->
line 1383
/lib/db/access.php
->
line 1613
/lib/db/access.php
->
line 2025
/lib/db/access.php
->
line 2035
/lib/db/access.php
->
line 2179
/lib/db/access.php
->
line 2220
/lib/db/access.php
->
line 2228
/lib/db/access.php
->
line 2235
/lib/db/access.php
->
line 2242
/lib/db/access.php
->
line 2248
/lib/db/access.php
->
line 2254
/lib/db/access.php
->
line 2261
/lib/db/access.php
->
line 2268
/lib/db/access.php
->
line 2275
/lib/db/access.php
->
line 2281
/lib/db/access.php
->
line 2288
/lib/db/access.php
->
line 2295
/lib/db/access.php
->
line 2302
/lib/db/access.php
->
line 2309
/lib/db/access.php
->
line 2317
/lib/db/access.php
->
line 2326
/lib/db/access.php
->
line 2333
/lib/db/access.php
->
line 2340
/lib/db/access.php
->
line 2347
/lib/db/access.php
->
line 2354
/lib/db/access.php
->
line 2395
/lib/db/access.php
->
line 2402
/lib/db/access.php
->
line 2409
/admin/tool/dataprivacy/classes/local/helper.php
->
line 200
/admin/roles/classes/privacy/provider.php
->
line 111
/admin/roles/classes/privacy/provider.php
->
line 126
/admin/roles/classes/privacy/provider.php
->
line 136
/admin/roles/classes/privacy/provider.php
->
line 224
/admin/roles/classes/privacy/provider.php
->
line 270
/admin/roles/classes/privacy/provider.php
->
line 286
/admin/roles/classes/privacy/provider.php
->
line 332
/repository/lib.php
->
line 108
/repository/lib.php
->
line 760
/repository/lib.php
->
line 768
/repository/lib.php
->
line 1850
/blocks/html/lib.php
->
line 54
/blocks/html/lib.php
->
line 75
/admin/tool/dataprivacy/classes/output/data_registry_page.php
->
line 134
/admin/tool/mobile/classes/privacy/provider.php
->
line 70
/admin/tool/mobile/classes/privacy/provider.php
->
line 106
/admin/tool/mobile/classes/privacy/provider.php
->
line 135
/admin/tool/mobile/classes/privacy/provider.php
->
line 155
/admin/tool/mobile/classes/privacy/provider.php
->
line 175
/enrol/externallib.php
->
line 853
/mnet/service/enrol/classes/privacy/provider.php
->
line 86
/mnet/service/enrol/classes/privacy/provider.php
->
line 130
/mnet/service/enrol/classes/privacy/provider.php
->
line 174
/mnet/service/enrol/classes/privacy/provider.php
->
line 204
/report/insights/classes/output/actions_exporter.php
->
line 82
/lib/filterlib.php
->
line 1374
/mod/forum/classes/local/vaults/author.php
->
line 114
/message/classes/privacy/provider.php
->
line 328
/message/classes/privacy/provider.php
->
line 377
/theme/boost/classes/output/core_renderer.php
->
line 91
/user/profile/field/text/classes/privacy/provider.php
->
line 75
/user/profile/field/text/classes/privacy/provider.php
->
line 120
/user/profile/field/text/classes/privacy/provider.php
->
line 142
/user/profile/field/text/classes/privacy/provider.php
->
line 169
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 130
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 235
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 273
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 494
/admin/tool/dataprivacy/classes/privacy/provider.php
->
line 104
/admin/tool/dataprivacy/classes/privacy/provider.php
->
line 122
/admin/roles/override.php
->
line 38
/admin/roles/override.php
->
line 58
/admin/roles/override.php
->
line 99
/user/profile/field/menu/classes/privacy/provider.php
->
line 77
/user/profile/field/menu/classes/privacy/provider.php
->
line 122
/user/profile/field/menu/classes/privacy/provider.php
->
line 144
/user/profile/field/menu/classes/privacy/provider.php
->
line 171
/lib/db/upgradelib.php
->
line 1365
/lib/db/upgradelib.php
->
line 1561
/course/classes/privacy/provider.php
->
line 164
/repository/tests/privacy/provider_test.php
->
line 72
/repository/tests/privacy/provider_test.php
->
line 94
/repository/tests/privacy/provider_test.php
->
line 128
/repository/tests/privacy/provider_test.php
->
line 158
/grade/classes/privacy/provider.php
->
line 262
/grade/classes/privacy/provider.php
->
line 355
/grade/classes/privacy/provider.php
->
line 381
/grade/classes/privacy/provider.php
->
line 388
/grade/classes/privacy/provider.php
->
line 405
/grade/classes/privacy/provider.php
->
line 412
/grade/classes/privacy/provider.php
->
line 431
/grade/classes/privacy/provider.php
->
line 699
/grade/classes/privacy/provider.php
->
line 733
/grade/classes/privacy/provider.php
->
line 773
/blocks/comments/tests/privacy/provider_test.php
->
line 137
/admin/repository.php
->
line 325
/competency/lib.php
->
line 304
/admin/tool/monitor/classes/privacy/provider.php
->
line 94
/admin/tool/monitor/classes/privacy/provider.php
->
line 95
/admin/tool/monitor/classes/privacy/provider.php
->
line 157
/admin/tool/monitor/classes/privacy/provider.php
->
line 182
/lib/db/upgrade.php
->
line 1571
/lib/db/upgrade.php
->
line 2205
/lib/db/upgrade.php
->
line 2210
/draftfile.php
->
line 65
/search/tests/fixtures/mock_search_area.php
->
line 39
/user/profile/field/social/classes/privacy/provider.php
->
line 77
/user/profile/field/social/classes/privacy/provider.php
->
line 122
/user/profile/field/social/classes/privacy/provider.php
->
line 144
/user/profile/field/social/classes/privacy/provider.php
->
line 171
/message/output/airnotifier/classes/privacy/provider.php
->
line 89
/mod/forum/classes/event/user_report_viewed.php
->
line 122
/mod/forum/classes/event/user_report_viewed.php
->
line 127
/search/engine/simpledb/classes/privacy/provider.php
->
line 170
/lib/classes/analytics/analyser/users.php
->
line 50
/competency/classes/privacy/provider.php
->
line 316
/competency/classes/privacy/provider.php
->
line 347
/competency/classes/privacy/provider.php
->
line 348
/competency/classes/privacy/provider.php
->
line 383
/competency/classes/privacy/provider.php
->
line 384
/competency/classes/privacy/provider.php
->
line 385
/competency/classes/privacy/provider.php
->
line 593
/competency/classes/privacy/provider.php
->
line 603
/competency/classes/privacy/provider.php
->
line 621
/competency/classes/privacy/provider.php
->
line 633
/competency/classes/privacy/provider.php
->
line 661
/competency/classes/privacy/provider.php
->
line 692
/user/classes/privacy/provider.php
->
line 196
/user/classes/privacy/provider.php
->
line 244
/user/classes/privacy/provider.php
->
line 271
/lib/behat/classes/behat_session_trait.php
->
line 1172
/admin/tool/policy/classes/form/accept_policy.php
->
line 130
/admin/tool/dataprivacy/classes/output/data_deletion_page.php
->
line 76
/portfolio/classes/privacy/provider.php
->
line 98
/portfolio/classes/privacy/provider.php
->
line 142
/portfolio/classes/privacy/provider.php
->
line 217
/portfolio/classes/privacy/provider.php
->
line 254
/backup/moodle2/backup_stepslib.php
->
line 1517
/message/tests/api_test.php
->
line 1476
/report/usersessions/db/access.php
->
line 32
/message/output/airnotifier/externallib.php
->
line 111
/admin/tool/dataprivacy/classes/api.php
->
line 1044
/user/externallib.php
->
line 1053
/mod/forum/tests/event/events_test.php
->
line 1072
/webservice/classes/privacy/provider.php
->
line 98
/webservice/classes/privacy/provider.php
->
line 107
/webservice/classes/privacy/provider.php
->
line 147
/webservice/classes/privacy/provider.php
->
line 242
/webservice/classes/privacy/provider.php
->
line 270
/admin/tool/dataprivacy/classes/data_registry.php
->
line 226
/admin/tool/dataprivacy/classes/data_registry.php
->
line 228
/admin/tool/dataprivacy/classes/data_registry.php
->
line 285
/admin/tool/dataprivacy/classes/data_registry.php
->
line 323
/repository/onedrive/classes/privacy/provider.php
->
line 97
/repository/onedrive/classes/privacy/provider.php
->
line 142
/repository/onedrive/classes/privacy/provider.php
->
line 192
/repository/onedrive/classes/privacy/provider.php
->
line 216
/repository/onedrive/classes/privacy/provider.php
->
line 234
/repository/onedrive/classes/privacy/provider.php
->
line 242
/admin/roles/check.php
->
line 38
/admin/roles/check.php
->
line 61
/admin/roles/check.php
->
line 97
/admin/roles/check.php
->
line 189
/privacy/classes/local/request/contextlist.php
->
line 105
/privacy/classes/local/request/contextlist.php
->
line 122
/blocks/rss_client/classes/privacy/provider.php
->
line 82
/report/insights/insights.php
->
line 94
/repository/onedrive/tests/privacy/provider_test.php
->
line 86
/repository/onedrive/tests/privacy/provider_test.php
->
line 198
/repository/onedrive/tests/privacy/provider_test.php
->
line 251
/repository/onedrive/tests/privacy/provider_test.php
->
line 308
/repository/onedrive/tests/privacy/provider_test.php
->
line 323
/admin/roles/assign.php
->
line 42
/admin/roles/assign.php
->
line 162
/admin/roles/assign.php
->
line 344
/search/classes/manager.php
->
line 741
/search/classes/manager.php
->
line 745
/h5p/classes/api.php
->
line 517
/h5p/classes/api.php
->
line 545
/lib/navigationlib.php
->
line 1592
/lib/navigationlib.php
->
line 2470
/lib/navigationlib.php
->
line 2519
/lib/navigationlib.php
->
line 2521
/lib/navigationlib.php
->
line 2537
/lib/navigationlib.php
->
line 4345
/lib/navigationlib.php
->
line 4395
/lib/navigationlib.php
->
line 5010
/admin/tool/dataprivacy/classes/form/contextlevel.php
->
line 82
/lib/deprecatedlib.php
->
line 3101
/lib/accesslib.php
->
line 124
/lib/accesslib.php
->
line 5978
/lib/accesslib.php
->
line 6545
/lib/accesslib.php
->
line 6610
/lib/accesslib.php
->
line 6624
/lib/accesslib.php
->
line 6628
/lib/accesslib.php
->
line 6630
/lib/accesslib.php
->
line 6650
/lib/accesslib.php
->
line 6655
/lib/accesslib.php
->
line 6658
/lib/accesslib.php
->
line 6674
/lib/accesslib.php
->
line 6704
/lib/accesslib.php
->
line 7715
/my/lib.php
->
line 272
/admin/tool/cohortroles/classes/form/assign_role_cohort.php
->
line 49
/analytics/classes/manager.php
->
line 89
/lib/ajax/blocks.php
->
line 67
/blocks/mentees/block_mentees.php
->
line 60
/user/profile/field/datetime/classes/privacy/provider.php
->
line 78
/user/profile/field/datetime/classes/privacy/provider.php
->
line 123
/user/profile/field/datetime/classes/privacy/provider.php
->
line 145
/user/profile/field/datetime/classes/privacy/provider.php
->
line 172
/admin/roles/permissions.php
->
line 46
/admin/roles/permissions.php
->
line 67
/admin/roles/permissions.php
->
line 105
/admin/roles/permissions.php
->
line 238
/auth/lti/classes/privacy/provider.php
->
line 51
/auth/lti/classes/privacy/provider.php
->
line 92
/auth/lti/classes/privacy/provider.php
->
line 109
/files/classes/privacy/provider.php
->
line 97
/files/classes/privacy/provider.php
->
line 135
/files/classes/privacy/provider.php
->
line 153
/files/classes/privacy/provider.php
->
line 188
/calendar/classes/privacy/provider.php
->
line 106
/calendar/classes/privacy/provider.php
->
line 137
/calendar/classes/privacy/provider.php
->
line 187
/calendar/classes/privacy/provider.php
->
line 191
/calendar/classes/privacy/provider.php
->
line 198
/calendar/classes/privacy/provider.php
->
line 283
/calendar/classes/privacy/provider.php
->
line 454
/calendar/classes/privacy/provider.php
->
line 485
/calendar/classes/privacy/provider.php
->
line 492
/calendar/classes/privacy/provider.php
->
line 525
/calendar/classes/privacy/provider.php
->
line 548
/calendar/classes/privacy/provider.php
->
line 555
/calendar/classes/privacy/provider.php
->
line 596
/calendar/classes/privacy/provider.php
->
line 661
/auth/mnet/classes/privacy/provider.php
->
line 138
/auth/mnet/classes/privacy/provider.php
->
line 228
/auth/mnet/classes/privacy/provider.php
->
line 264
/auth/oauth2/db/access.php
->
line 32
/user/classes/search/user.php
->
line 66
/lib/adminlib.php
->
line 9616
/admin/tool/policy/classes/api.php
->
line 351
/lib/testing/generator/repository_generator.php
->
line 146
/admin/tool/dataprivacy/db/access.php
->
line 58
/admin/tool/dataprivacy/db/access.php
->
line 66
/admin/tool/dataprivacy/db/access.php
->
line 75
/admin/tool/dataprivacy/db/access.php
->
line 85
/admin/tool/dataprivacy/db/access.php
->
line 93