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_USER
[
Top level directory
]
Constant Cross Reference
at:
/lib/accesslib.php
->
line 124
Referenced 373 times:
/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
/lib/classes/context_helper.php
->
line 62
/h5p/classes/api.php
->
line 528
/h5p/classes/api.php
->
line 556
/lib/classes/analytics/analyser/users.php
->
line 50
/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
/lib/tests/context/user_test.php
->
line 73
/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/dataprivacy/classes/api.php
->
line 1044
/my/lib.php
->
line 272
/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/cohortroles/classes/form/assign_role_cohort.php
->
line 41
/privacy/classes/local/request/contextlist.php
->
line 105
/privacy/classes/local/request/contextlist.php
->
line 122
/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 4360
/lib/navigationlib.php
->
line 4410
/lib/navigationlib.php
->
line 5046
/course/classes/privacy/provider.php
->
line 164
/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/repository.php
->
line 301
/lib/filterlib.php
->
line 1380
/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
/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
/repository/lib.php
->
line 108
/repository/lib.php
->
line 764
/repository/lib.php
->
line 772
/repository/lib.php
->
line 1854
/blocks/comments/tests/privacy/provider_test.php
->
line 138
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 41
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 73
/lib/adminlib.php
->
line 9456
/mod/forum/tests/event/events_test.php
->
line 1048
/enrol/externallib.php
->
line 863
/admin/tool/policy/classes/acceptances_table.php
->
line 115
/lib/external/classes/privacy/provider.php
->
line 89
/lib/external/classes/privacy/provider.php
->
line 98
/lib/external/classes/privacy/provider.php
->
line 138
/lib/external/classes/privacy/provider.php
->
line 233
/lib/external/classes/privacy/provider.php
->
line 261
/blocks/html/block_html.php
->
line 174
/search/classes/base_block.php
->
line 324
/repository/manage_instances.php
->
line 84
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 215
/calendar/tests/privacy/provider_test.php
->
line 188
/lib/accesslib.php
->
line 124
/lib/accesslib.php
->
line 5055
/admin/tool/policy/classes/form/accept_policy.php
->
line 130
/lib/filelib.php
->
line 4559
/lib/filelib.php
->
line 4594
/lib/filelib.php
->
line 4706
/lib/filelib.php
->
line 4760
/lib/filelib.php
->
line 4780
/lib/filelib.php
->
line 4838
/lib/tests/outputcomponents_test.php
->
line 174
/admin/tool/dataprivacy/classes/output/data_deletion_page.php
->
line 76
/auth/lti/classes/privacy/provider.php
->
line 51
/auth/lti/classes/privacy/provider.php
->
line 92
/auth/lti/classes/privacy/provider.php
->
line 109
/message/output/airnotifier/externallib.php
->
line 104
/blog/lib.php
->
line 349
/blog/lib.php
->
line 371
/blog/lib.php
->
line 375
/analytics/classes/local/target/base.php
->
line 272
/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
/blocks/edit_form.php
->
line 207
/blocks/edit_form.php
->
line 267
/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/dataprivacy/classes/output/data_registry_page.php
->
line 134
/lib/deprecatedlib.php
->
line 3000
/admin/tool/dataprivacy/classes/form/contextlevel.php
->
line 82
/admin/roles/assign.php
->
line 42
/admin/roles/assign.php
->
line 162
/admin/roles/assign.php
->
line 344
/backup/moodle2/backup_stepslib.php
->
line 1530
/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
/admin/tool/cohortroles/classes/api.php
->
line 170
/admin/tool/cohortroles/classes/api.php
->
line 205
/admin/tool/cohortroles/classes/api.php
->
line 231
/report/insights/insights.php
->
line 94
/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
/lib/testing/generator/repository_generator.php
->
line 146
/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
/search/engine/simpledb/classes/privacy/provider.php
->
line 170
/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
/competency/classes/api.php
->
line 915
/competency/classes/api.php
->
line 5336
/user/classes/search/user.php
->
line 66
/report/insights/prediction.php
->
line 51
/message/tests/api_test.php
->
line 1460
/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
/message/classes/privacy/provider.php
->
line 328
/message/classes/privacy/provider.php
->
line 377
/lib/db/access.php
->
line 535
/lib/db/access.php
->
line 545
/lib/db/access.php
->
line 594
/lib/db/access.php
->
line 1330
/lib/db/access.php
->
line 1365
/lib/db/access.php
->
line 1377
/lib/db/access.php
->
line 1391
/lib/db/access.php
->
line 1402
/lib/db/access.php
->
line 1632
/lib/db/access.php
->
line 2044
/lib/db/access.php
->
line 2054
/lib/db/access.php
->
line 2198
/lib/db/access.php
->
line 2239
/lib/db/access.php
->
line 2247
/lib/db/access.php
->
line 2254
/lib/db/access.php
->
line 2261
/lib/db/access.php
->
line 2267
/lib/db/access.php
->
line 2273
/lib/db/access.php
->
line 2280
/lib/db/access.php
->
line 2287
/lib/db/access.php
->
line 2294
/lib/db/access.php
->
line 2300
/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 2336
/lib/db/access.php
->
line 2345
/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 2414
/lib/db/access.php
->
line 2421
/lib/db/access.php
->
line 2428
/draftfile.php
->
line 65
/search/classes/base.php
->
line 517
/admin/roles/usersroles.php
->
line 182
/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
/lib/filestorage/file_storage.php
->
line 1996
/blocks/html/lib.php
->
line 54
/blocks/html/lib.php
->
line 75
/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
/search/tests/fixtures/mock_search_area.php
->
line 39
/analytics/classes/manager.php
->
line 89
/blocks/moodleblock.class.php
->
line 578
/search/classes/manager.php
->
line 741
/search/classes/manager.php
->
line 745
/admin/tool/policy/classes/privacy/provider.php
->
line 131
/admin/tool/policy/classes/privacy/provider.php
->
line 177
/auth/oauth2/db/access.php
->
line 32
/admin/tool/dataprivacy/classes/local/helper.php
->
line 200
/mod/forum/classes/local/vaults/author.php
->
line 114
/auth/mnet/classes/privacy/provider.php
->
line 138
/auth/mnet/classes/privacy/provider.php
->
line 228
/auth/mnet/classes/privacy/provider.php
->
line 264
/blocks/html/classes/privacy/provider.php
->
line 86
/blocks/html/classes/privacy/provider.php
->
line 117
/mod/forum/classes/event/user_report_viewed.php
->
line 110
/mod/forum/classes/event/user_report_viewed.php
->
line 115
/theme/boost/classes/output/core_renderer.php
->
line 90
/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
/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
/admin/tool/policy/db/access.php
->
line 41
/report/usersessions/db/access.php
->
line 32
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 49
/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
/lib/blocklib.php
->
line 1902
/admin/tool/policy/classes/api.php
->
line 351
/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
/user/externallib.php
->
line 1048
/backup/tests/async_backup_test.php
->
line 137
/admin/roles/tests/privacy/provider_test.php
->
line 232
/lib/filebrowser/file_browser.php
->
line 84
/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/classes/event/base.php
->
line 239
/search/classes/base_mod.php
->
line 184
/blocks/recentlyaccesseditems/classes/privacy/provider.php
->
line 76
/blocks/recentlyaccesseditems/classes/privacy/provider.php
->
line 157
/blocks/recentlyaccesseditems/classes/privacy/provider.php
->
line 173
/lib/editor/atto/classes/privacy/provider.php
->
line 84
/lib/editor/atto/classes/privacy/provider.php
->
line 138
/competency/lib.php
->
line 304
/lib/db/upgradelib.php
->
line 1221
/lib/db/upgradelib.php
->
line 1417
/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
/admin/tool/dataprivacy/lib.php
->
line 251
/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
/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/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
/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
/lib/db/upgrade.php
->
line 390
/lib/db/upgrade.php
->
line 395
/user/classes/privacy/provider.php
->
line 196
/user/classes/privacy/provider.php
->
line 244
/user/classes/privacy/provider.php
->
line 271
/blocks/mentees/block_mentees.php
->
line 60
/message/output/airnotifier/classes/privacy/provider.php
->
line 89
/admin/roles/override.php
->
line 38
/admin/roles/override.php
->
line 58
/admin/roles/override.php
->
line 99
/user/classes/table/participants_search.php
->
line 244
/reportbuilder/classes/local/entities/user.php
->
line 308
/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
/admin/roles/permissions.php
->
line 46
/admin/roles/permissions.php
->
line 67
/admin/roles/permissions.php
->
line 105
/admin/roles/permissions.php
->
line 238
/lib/editor/tiny/plugins/autosave/classes/privacy/provider.php
->
line 75
/lib/editor/tiny/plugins/autosave/classes/privacy/provider.php
->
line 128
/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
/report/insights/classes/output/actions_exporter.php
->
line 82
/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
/lib/outputrenderers.php
->
line 4389
/lib/outputrenderers.php
->
line 4638
/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
/admin/roles/check.php
->
line 38
/admin/roles/check.php
->
line 61
/admin/roles/check.php
->
line 97
/admin/roles/check.php
->
line 189
/message/classes/search/base_message.php
->
line 44
/message/classes/search/base_message.php
->
line 175