Quick Navigation
×
Moodle 4.3 XRef and Diffs
Home
Quick Navigation
Moodle 4.3
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 4.3 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.3.x will end 7 October 2024 (12 months).
Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.
Moodle 4.3 Database Schema (by Marcus Green)
CONTEXT_USER
[
Top level directory
]
Constant Cross Reference
at:
/lib/accesslib.php
->
line 124
Referenced 379 times:
/search/classes/base.php
->
line 517
/privacy/classes/local/request/contextlist.php
->
line 105
/privacy/classes/local/request/contextlist.php
->
line 122
/auth/oauth2/db/access.php
->
line 32
/auth/oauth2/classes/privacy/provider.php
->
line 97
/auth/oauth2/classes/privacy/provider.php
->
line 159
/auth/oauth2/classes/privacy/provider.php
->
line 189
/lib/db/upgrade.php
->
line 390
/lib/db/upgrade.php
->
line 395
/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
/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
/lib/classes/privacy/provider.php
->
line 163
/lib/classes/privacy/provider.php
->
line 179
/lib/classes/privacy/provider.php
->
line 200
/lib/classes/privacy/provider.php
->
line 219
/lib/classes/privacy/provider.php
->
line 237
/lib/classes/privacy/provider.php
->
line 261
/blog/lib.php
->
line 349
/blog/lib.php
->
line 371
/blog/lib.php
->
line 375
/report/insights/insights.php
->
line 94
/lib/db/access.php
->
line 535
/lib/db/access.php
->
line 545
/lib/db/access.php
->
line 594
/lib/db/access.php
->
line 1337
/lib/db/access.php
->
line 1372
/lib/db/access.php
->
line 1384
/lib/db/access.php
->
line 1398
/lib/db/access.php
->
line 1409
/lib/db/access.php
->
line 1639
/lib/db/access.php
->
line 2051
/lib/db/access.php
->
line 2061
/lib/db/access.php
->
line 2205
/lib/db/access.php
->
line 2246
/lib/db/access.php
->
line 2254
/lib/db/access.php
->
line 2261
/lib/db/access.php
->
line 2268
/lib/db/access.php
->
line 2274
/lib/db/access.php
->
line 2280
/lib/db/access.php
->
line 2287
/lib/db/access.php
->
line 2294
/lib/db/access.php
->
line 2301
/lib/db/access.php
->
line 2307
/lib/db/access.php
->
line 2314
/lib/db/access.php
->
line 2321
/lib/db/access.php
->
line 2328
/lib/db/access.php
->
line 2335
/lib/db/access.php
->
line 2343
/lib/db/access.php
->
line 2352
/lib/db/access.php
->
line 2359
/lib/db/access.php
->
line 2366
/lib/db/access.php
->
line 2373
/lib/db/access.php
->
line 2380
/lib/db/access.php
->
line 2421
/lib/db/access.php
->
line 2428
/lib/db/access.php
->
line 2435
/backup/moodle2/backup_stepslib.php
->
line 1591
/admin/tool/dataprivacy/classes/output/data_registry_page.php
->
line 134
/admin/tool/policy/classes/form/accept_policy.php
->
line 130
/blocks/html/lib.php
->
line 54
/blocks/html/lib.php
->
line 75
/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
/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
/admin/tool/policy/classes/privacy/provider.php
->
line 131
/admin/tool/policy/classes/privacy/provider.php
->
line 177
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 49
/files/classes/privacy/provider.php
->
line 103
/files/classes/privacy/provider.php
->
line 141
/files/classes/privacy/provider.php
->
line 159
/files/classes/privacy/provider.php
->
line 194
/mod/forum/classes/event/user_report_viewed.php
->
line 110
/mod/forum/classes/event/user_report_viewed.php
->
line 115
/admin/roles/override.php
->
line 38
/admin/roles/override.php
->
line 58
/admin/roles/override.php
->
line 99
/lib/editor/atto/classes/privacy/provider.php
->
line 84
/lib/editor/atto/classes/privacy/provider.php
->
line 138
/user/classes/privacy/provider.php
->
line 196
/user/classes/privacy/provider.php
->
line 244
/user/classes/privacy/provider.php
->
line 271
/lib/tests/context_helper_test.php
->
line 40
/lib/tests/context_helper_test.php
->
line 41
/lib/tests/context_helper_test.php
->
line 93
/lib/tests/context_helper_test.php
->
line 94
/lib/tests/context_helper_test.php
->
line 128
/lib/tests/context_helper_test.php
->
line 129
/lib/tests/context_helper_test.php
->
line 169
/lib/tests/context_helper_test.php
->
line 171
/lib/tests/context_helper_test.php
->
line 179
/lib/tests/context_helper_test.php
->
line 187
/lib/tests/context_helper_test.php
->
line 195
/lib/tests/context_helper_test.php
->
line 212
/lib/tests/context_helper_test.php
->
line 220
/lib/tests/context_helper_test.php
->
line 228
/lib/tests/context_helper_test.php
->
line 236
/lib/tests/context_helper_test.php
->
line 244
/lib/tests/context_helper_test.php
->
line 443
/lib/tests/context_helper_test.php
->
line 461
/admin/tool/cohortroles/classes/api.php
->
line 170
/admin/tool/cohortroles/classes/api.php
->
line 205
/admin/tool/cohortroles/classes/api.php
->
line 231
/course/classes/privacy/provider.php
->
line 164
/reportbuilder/classes/local/entities/user.php
->
line 297
/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
/admin/roles/tests/privacy/provider_test.php
->
line 232
/admin/tool/dataprivacy/classes/local/helper.php
->
line 201
/search/classes/manager.php
->
line 741
/search/classes/manager.php
->
line 745
/admin/tool/policy/classes/acceptances_table.php
->
line 115
/lib/classes/context_helper.php
->
line 62
/admin/tool/dataprivacy/lib.php
->
line 250
/message/output/airnotifier/classes/privacy/provider.php
->
line 89
/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
/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/tests/api_test.php
->
line 1295
/admin/tool/dataprivacy/tests/api_test.php
->
line 1348
/admin/tool/dataprivacy/tests/api_test.php
->
line 1349
/admin/tool/dataprivacy/tests/api_test.php
->
line 1395
/admin/tool/dataprivacy/tests/api_test.php
->
line 1396
/admin/tool/dataprivacy/tests/api_test.php
->
line 1400
/admin/tool/dataprivacy/tests/api_test.php
->
line 1404
/admin/tool/dataprivacy/tests/api_test.php
->
line 1405
/admin/tool/dataprivacy/tests/api_test.php
->
line 1412
/admin/tool/dataprivacy/tests/api_test.php
->
line 1417
/admin/tool/dataprivacy/tests/api_test.php
->
line 1418
/admin/tool/dataprivacy/tests/api_test.php
->
line 1522
/admin/tool/dataprivacy/tests/api_test.php
->
line 2173
/admin/tool/dataprivacy/tests/api_test.php
->
line 2204
/search/classes/base_mod.php
->
line 184
/lib/filterlib.php
->
line 1380
/h5p/classes/api.php
->
line 528
/h5p/classes/api.php
->
line 556
/my/lib.php
->
line 272
/draftfile.php
->
line 65
/repository/manage_instances.php
->
line 84
/lib/tests/outputcomponents_test.php
->
line 171
/report/insights/prediction.php
->
line 51
/lib/editor/tiny/plugins/autosave/classes/privacy/provider.php
->
line 75
/lib/editor/tiny/plugins/autosave/classes/privacy/provider.php
->
line 128
/lib/filestorage/file_storage.php
->
line 1996
/user/externallib.php
->
line 1048
/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
/search/classes/base_block.php
->
line 324
/user/classes/search/user.php
->
line 66
/message/classes/search/base_message.php
->
line 44
/message/classes/search/base_message.php
->
line 175
/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
/competency/lib.php
->
line 304
/admin/tool/cohortroles/classes/form/assign_role_cohort.php
->
line 41
/lib/filebrowser/file_browser.php
->
line 84
/lib/testing/generator/repository_generator.php
->
line 146
/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/navigationlib.php
->
line 1608
/lib/navigationlib.php
->
line 2484
/lib/navigationlib.php
->
line 2533
/lib/navigationlib.php
->
line 2535
/lib/navigationlib.php
->
line 2551
/lib/navigationlib.php
->
line 4372
/lib/navigationlib.php
->
line 4422
/lib/navigationlib.php
->
line 5084
/theme/boost/classes/output/core_renderer.php
->
line 90
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 215
/admin/roles/usersroles.php
->
line 182
/backup/tests/async_backup_test.php
->
line 137
/lib/classes/event/base.php
->
line 239
/admin/tool/dataprivacy/classes/data_registry.php
->
line 232
/admin/tool/dataprivacy/classes/data_registry.php
->
line 234
/admin/tool/dataprivacy/classes/data_registry.php
->
line 291
/admin/tool/dataprivacy/classes/data_registry.php
->
line 329
/message/output/airnotifier/externallib.php
->
line 104
/lib/tests/context/user_test.php
->
line 73
/grade/classes/privacy/provider.php
->
line 263
/grade/classes/privacy/provider.php
->
line 356
/grade/classes/privacy/provider.php
->
line 382
/grade/classes/privacy/provider.php
->
line 389
/grade/classes/privacy/provider.php
->
line 406
/grade/classes/privacy/provider.php
->
line 413
/grade/classes/privacy/provider.php
->
line 432
/grade/classes/privacy/provider.php
->
line 702
/grade/classes/privacy/provider.php
->
line 736
/grade/classes/privacy/provider.php
->
line 776
/blocks/recentlyaccesseditems/classes/privacy/provider.php
->
line 76
/blocks/recentlyaccesseditems/classes/privacy/provider.php
->
line 157
/blocks/recentlyaccesseditems/classes/privacy/provider.php
->
line 173
/auth/lti/classes/privacy/provider.php
->
line 51
/auth/lti/classes/privacy/provider.php
->
line 92
/auth/lti/classes/privacy/provider.php
->
line 109
/blocks/html/block_html.php
->
line 174
/mod/forum/classes/local/vaults/author.php
->
line 114
/report/insights/classes/output/actions_exporter.php
->
line 82
/lib/classes/analytics/analyser/users.php
->
line 50
/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
/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
/search/engine/simpledb/classes/privacy/provider.php
->
line 170
/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
/lib/adminlib.php
->
line 9504
/calendar/tests/privacy/provider_test.php
->
line 188
/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
/admin/tool/policy/classes/api.php
->
line 351
/admin/tool/dataprivacy/classes/api.php
->
line 1073
/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
/admin/roles/check.php
->
line 38
/admin/roles/check.php
->
line 61
/admin/roles/check.php
->
line 97
/admin/roles/check.php
->
line 189
/search/tests/fixtures/mock_search_area.php
->
line 39
/lib/db/upgradelib.php
->
line 1221
/lib/db/upgradelib.php
->
line 1417
/admin/roles/permissions.php
->
line 46
/admin/roles/permissions.php
->
line 67
/admin/roles/permissions.php
->
line 105
/admin/roles/permissions.php
->
line 238
/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
/mod/forum/tests/event/events_test.php
->
line 1048
/lib/blocklib.php
->
line 1902
/blocks/edit_form.php
->
line 207
/blocks/edit_form.php
->
line 267
/analytics/classes/local/target/base.php
->
line 272
/message/tests/api_test.php
->
line 1460
/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
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 41
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 73
/blocks/html/classes/privacy/provider.php
->
line 86
/blocks/html/classes/privacy/provider.php
->
line 117
/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/tool/dataprivacy/classes/privacy/provider.php
->
line 114
/admin/tool/dataprivacy/classes/privacy/provider.php
->
line 132
/blocks/rss_client/classes/privacy/provider.php
->
line 82
/admin/tool/policy/db/access.php
->
line 41
/admin/tool/dataprivacy/classes/form/contextlevel.php
->
line 82
/blocks/comments/tests/privacy/provider_test.php
->
line 138
/analytics/classes/manager.php
->
line 89
/admin/roles/assign.php
->
line 42
/admin/roles/assign.php
->
line 162
/admin/roles/assign.php
->
line 344
/user/classes/table/participants_search.php
->
line 244
/admin/tool/mfa/db/access.php
->
line 30
/message/classes/privacy/provider.php
->
line 328
/message/classes/privacy/provider.php
->
line 377
/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
/competency/classes/api.php
->
line 915
/competency/classes/api.php
->
line 5336
/repository/lib.php
->
line 108
/repository/lib.php
->
line 764
/repository/lib.php
->
line 772
/repository/lib.php
->
line 1857
/blocks/mentees/block_mentees.php
->
line 60
/report/usersessions/db/access.php
->
line 32
/auth/mnet/classes/privacy/provider.php
->
line 138
/auth/mnet/classes/privacy/provider.php
->
line 228
/auth/mnet/classes/privacy/provider.php
->
line 264
/admin/tool/dataprivacy/classes/output/data_deletion_page.php
->
line 76
/lib/filelib.php
->
line 4570
/lib/filelib.php
->
line 4605
/lib/filelib.php
->
line 4717
/lib/filelib.php
->
line 4771
/lib/filelib.php
->
line 4791
/lib/filelib.php
->
line 4849
/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
/admin/repository.php
->
line 301
/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
/blocks/moodleblock.class.php
->
line 578
/lib/outputrenderers.php
->
line 4492
/lib/outputrenderers.php
->
line 4741
/enrol/externallib.php
->
line 863
/lib/accesslib.php
->
line 124
/lib/accesslib.php
->
line 5081
/lib/external/classes/privacy/provider.php
->
line 90
/lib/external/classes/privacy/provider.php
->
line 99
/lib/external/classes/privacy/provider.php
->
line 139
/lib/external/classes/privacy/provider.php
->
line 234
/lib/external/classes/privacy/provider.php
->
line 262
/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
/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