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)
userfields
[
Top level directory
]
Variable Cross Reference
at:
/enrol/locallib.php
->
line 243
/enrol/locallib.php
->
line 349
/enrol/locallib.php
->
line 390
/enrol/locallib.php
->
line 1343
/lib/grouplib.php
->
line 1361
/blocks/online_users/classes/fetcher.php
->
line 90
/lib/classes/check/access/riskxss_result.php
->
line 94
/mod/bigbluebuttonbn/classes/logger.php
->
line 125
/reportbuilder/classes/local/entities/user.php
->
line 219
/reportbuilder/classes/local/entities/user.php
->
line 307
/grade/import/csv/classes/load_data.php
->
line 382
/admin/tool/policy/classes/acceptances_table.php
->
line 96
/message/classes/helper.php
->
line 183
/message/classes/helper.php
->
line 433
/mod/scorm/report/basic/classes/report.php
->
line 279
/mod/assign/locallib.php
->
line 2170
/mod/h5pactivity/lib.php
->
line 647
/mod/h5pactivity/lib.php
->
line 697
/grade/lib.php
->
line 186
/user/classes/table/participants_search.php
->
line 201
/competency/classes/api.php
->
line 1389
/competency/classes/api.php
->
line 1393
/competency/classes/api.php
->
line 2430
/competency/classes/api.php
->
line 2434
/enrol/lti/tests/local/ltiadvantage/repository/user_repository_test.php
->
line 37
/enrol/lti/tests/local/ltiadvantage/repository/user_repository_test.php
->
line 87
/enrol/lti/tests/local/ltiadvantage/repository/user_repository_test.php
->
line 90
/mod/forum/lib.php
->
line 6053
/rating/lib.php
->
line 459
/lib/classes/check/access/riskadmin.php
->
line 70
/lib/badgeslib.php
->
line 289
/enrol/externallib.php
->
line 102
/enrol/externallib.php
->
line 763
/auth/ldap/auth.php
->
line 1489
/auth/ldap/auth.php
->
line 1491
/auth/db/auth.php
->
line 184
/auth/db/auth.php
->
line 186
/message/lib.php
->
line 599
/message/lib.php
->
line 602
/mod/bigbluebuttonbn/lib.php
->
line 607
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 226
/lib/outputcomponents.php
->
line 257
/auth/shibboleth/auth.php
->
line 156
/lib/datalib.php
->
line 527
/mod/choice/lib.php
->
line 805
/mod/h5pactivity/classes/external/get_user_attempts.php
->
line 181
/user/lib.php
->
line 273
/user/lib.php
->
line 281
/mod/lesson/override_form.php
->
line 150
/mod/survey/lib.php
->
line 323
/mod/survey/lib.php
->
line 384
/grade/report/grader/lib.php
->
line 297
/mod/chat/lib.php
->
line 387
/mod/assign/externallib.php
->
line 2667
/mod/scorm/report/interactions/classes/report.php
->
line 168
/user/classes/privacy/provider.php
->
line 57
/course/externallib.php
->
line 4231
/backup/moodle2/backup_stepslib.php
->
line 1458
/mod/workshop/lib.php
->
line 1497
/lib/classes/check/access/riskbackup_result.php
->
line 173
/admin/tool/uploaduser/picture.php
->
line 52
/user/externallib.php
->
line 49
/user/externallib.php
->
line 472
/user/externallib.php
->
line 1123
/user/externallib.php
->
line 1171
/mod/assign/gradingtable.php
->
line 139
/lib/enrollib.php
->
line 1636
/webservice/lib.php
->
line 291
/course/classes/output/activity_information.php
->
line 131
/mod/workshop/locallib.php
->
line 3409
/admin/roles/assign.php
->
line 302
/mod/quiz/report/attemptsreport_table.php
->
line 428
/lib/deprecatedlib.php
->
line 3077
/privacy/tests/privacy/provider_test.php
->
line 268
/admin/user.php
->
line 189
/report/progress/index.php
->
line 58
/mod/feedback/lib.php
->
line 395
/grade/import/csv/tests/load_data_test.php
->
line 320
/user/action_redir.php
->
line 104
/mod/scorm/report/objectives/classes/report.php
->
line 162
/lib/tests/oauth2_test.php
->
line 106
/lib/tests/oauth2_test.php
->
line 112
/mod/assign/lib.php
->
line 817
/mod/assign/lib.php
->
line 904
/mod/glossary/lib.php
->
line 571
/mod/glossary/lib.php
->
line 3668
/mod/glossary/lib.php
->
line 3822
/lib/adminlib.php
->
line 4363
/mod/assign/override_form.php
->
line 166
/lib/authlib.php
->
line 105
/lib/authlib.php
->
line 1209
/admin/tool/policy/classes/api.php
->
line 347
/message/classes/api.php
->
line 272
/message/classes/api.php
->
line 1079
/message/classes/api.php
->
line 1121
/message/classes/api.php
->
line 1930
Referenced 300 times:
/auth/oauth2/classes/auth.php
->
line 314
/grade/import/csv/tests/fixtures/phpunit_gradeimport_csv_load_data.php
->
line 64
/grade/import/csv/tests/fixtures/phpunit_gradeimport_csv_load_data.php
->
line 65
/enrol/locallib.php
->
line 243
/enrol/locallib.php
->
line 245
/enrol/locallib.php
->
line 349
/enrol/locallib.php
->
line 351
/enrol/locallib.php
->
line 390
/enrol/locallib.php
->
line 393
/enrol/locallib.php
->
line 1343
/enrol/locallib.php
->
line 1348
/lib/grouplib.php
->
line 1361
/lib/grouplib.php
->
line 1364
/lib/grouplib.php
->
line 1367
/blocks/online_users/classes/fetcher.php
->
line 90
/blocks/online_users/classes/fetcher.php
->
line 96
/blocks/online_users/classes/fetcher.php
->
line 111
/blocks/online_users/classes/fetcher.php
->
line 137
/lib/classes/check/access/riskxss_result.php
->
line 94
/lib/classes/check/access/riskxss_result.php
->
line 95
/auth/db/settings.php
->
line 139
/mod/bigbluebuttonbn/classes/logger.php
->
line 125
/mod/bigbluebuttonbn/classes/logger.php
->
line 132
/reportbuilder/classes/local/entities/user.php
->
line 219
/reportbuilder/classes/local/entities/user.php
->
line 220
/reportbuilder/classes/local/entities/user.php
->
line 307
/reportbuilder/classes/local/entities/user.php
->
line 315
/grade/import/csv/classes/load_data.php
->
line 221
/grade/import/csv/classes/load_data.php
->
line 228
/grade/import/csv/classes/load_data.php
->
line 248
/grade/import/csv/classes/load_data.php
->
line 257
/grade/import/csv/classes/load_data.php
->
line 382
/grade/import/csv/classes/load_data.php
->
line 406
/admin/tool/policy/classes/acceptances_table.php
->
line 96
/admin/tool/policy/classes/acceptances_table.php
->
line 99
/admin/tool/policy/classes/acceptances_table.php
->
line 261
/admin/tool/policy/classes/acceptances_table.php
->
line 287
/admin/tool/policy/classes/acceptances_table.php
->
line 303
/message/classes/helper.php
->
line 183
/message/classes/helper.php
->
line 185
/message/classes/helper.php
->
line 187
/message/classes/helper.php
->
line 189
/message/classes/helper.php
->
line 212
/message/classes/helper.php
->
line 433
/message/classes/helper.php
->
line 434
/mod/scorm/report/basic/classes/report.php
->
line 279
/mod/scorm/report/basic/classes/report.php
->
line 280
/mod/assign/locallib.php
->
line 2170
/mod/assign/locallib.php
->
line 2176
/mod/h5pactivity/lib.php
->
line 647
/mod/h5pactivity/lib.php
->
line 649
/mod/h5pactivity/lib.php
->
line 697
/mod/h5pactivity/lib.php
->
line 698
/grade/lib.php
->
line 186
/grade/lib.php
->
line 197
/grade/lib.php
->
line 204
/user/classes/table/participants_search.php
->
line 66
/user/classes/table/participants_search.php
->
line 80
/user/classes/table/participants_search.php
->
line 201
/user/classes/table/participants_search.php
->
line 203
/user/classes/table/participants_search.php
->
line 992
/user/classes/table/participants_search.php
->
line 1014
/user/classes/table/participants_search.php
->
line 1041
/competency/classes/api.php
->
line 1389
/competency/classes/api.php
->
line 1391
/competency/classes/api.php
->
line 1393
/competency/classes/api.php
->
line 1393
/competency/classes/api.php
->
line 1395
/competency/classes/api.php
->
line 2430
/competency/classes/api.php
->
line 2432
/competency/classes/api.php
->
line 2434
/competency/classes/api.php
->
line 2434
/competency/classes/api.php
->
line 2436
/auth/cas/settings.php
->
line 290
/enrol/lti/tests/local/ltiadvantage/repository/user_repository_test.php
->
line 37
/enrol/lti/tests/local/ltiadvantage/repository/user_repository_test.php
->
line 85
/enrol/lti/tests/local/ltiadvantage/repository/user_repository_test.php
->
line 87
/enrol/lti/tests/local/ltiadvantage/repository/user_repository_test.php
->
line 90
/enrol/lti/tests/local/ltiadvantage/repository/user_repository_test.php
->
line 90
/enrol/lti/tests/local/ltiadvantage/repository/user_repository_test.php
->
line 95
/auth/email/settings.php
->
line 44
/auth/ldap/settings.php
->
line 340
/mod/forum/lib.php
->
line 6053
/mod/forum/lib.php
->
line 6055
/rating/lib.php
->
line 459
/rating/lib.php
->
line 460
/lib/classes/check/access/riskadmin.php
->
line 70
/lib/classes/check/access/riskadmin.php
->
line 71
/lib/badgeslib.php
->
line 289
/lib/badgeslib.php
->
line 292
/lib/badgeslib.php
->
line 293
/lib/badgeslib.php
->
line 298
/enrol/externallib.php
->
line 102
/enrol/externallib.php
->
line 116
/enrol/externallib.php
->
line 179
/enrol/externallib.php
->
line 763
/enrol/externallib.php
->
line 786
/enrol/externallib.php
->
line 885
/auth/ldap/auth.php
->
line 1488
/auth/ldap/auth.php
->
line 1489
/auth/ldap/auth.php
->
line 1489
/auth/ldap/auth.php
->
line 1491
/auth/ldap/auth.php
->
line 1491
/auth/ldap/auth.php
->
line 1494
/auth/db/auth.php
->
line 183
/auth/db/auth.php
->
line 184
/auth/db/auth.php
->
line 184
/auth/db/auth.php
->
line 186
/auth/db/auth.php
->
line 186
/auth/db/auth.php
->
line 189
/message/lib.php
->
line 599
/message/lib.php
->
line 602
/message/lib.php
->
line 607
/message/lib.php
->
line 616
/mod/bigbluebuttonbn/lib.php
->
line 607
/mod/bigbluebuttonbn/lib.php
->
line 608
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 226
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 227
/lib/outputcomponents.php
->
line 257
/lib/outputcomponents.php
->
line 259
/lib/outputcomponents.php
->
line 261
/auth/shibboleth/auth.php
->
line 156
/auth/shibboleth/auth.php
->
line 156
/auth/shibboleth/auth.php
->
line 157
/lib/datalib.php
->
line 527
/lib/datalib.php
->
line 529
/lib/datalib.php
->
line 532
/lib/datalib.php
->
line 533
/lib/datalib.php
->
line 535
/mod/choice/lib.php
->
line 805
/mod/choice/lib.php
->
line 807
/mod/h5pactivity/classes/external/get_user_attempts.php
->
line 181
/mod/h5pactivity/classes/external/get_user_attempts.php
->
line 192
/auth/manual/settings.php
->
line 77
/admin/auth_config.php
->
line 54
/user/lib.php
->
line 273
/user/lib.php
->
line 280
/user/lib.php
->
line 281
/user/lib.php
->
line 284
/user/lib.php
->
line 291
/user/lib.php
->
line 292
/user/lib.php
->
line 295
/user/lib.php
->
line 296
/user/lib.php
->
line 342
/user/lib.php
->
line 348
/user/lib.php
->
line 351
/user/lib.php
->
line 357
/user/lib.php
->
line 387
/user/lib.php
->
line 392
/user/lib.php
->
line 408
/user/lib.php
->
line 412
/user/lib.php
->
line 416
/user/lib.php
->
line 423
/user/lib.php
->
line 431
/user/lib.php
->
line 435
/user/lib.php
->
line 439
/user/lib.php
->
line 443
/user/lib.php
->
line 447
/user/lib.php
->
line 454
/user/lib.php
->
line 463
/user/lib.php
->
line 471
/user/lib.php
->
line 483
/user/lib.php
->
line 491
/user/lib.php
->
line 497
/user/lib.php
->
line 504
/user/lib.php
->
line 511
/user/lib.php
->
line 526
/user/lib.php
->
line 547
/user/lib.php
->
line 565
/user/lib.php
->
line 577
/mod/lesson/override_form.php
->
line 150
/mod/lesson/override_form.php
->
line 153
/mod/survey/lib.php
->
line 323
/mod/survey/lib.php
->
line 324
/mod/survey/lib.php
->
line 329
/mod/survey/lib.php
->
line 384
/mod/survey/lib.php
->
line 385
/grade/report/grader/lib.php
->
line 297
/grade/report/grader/lib.php
->
line 298
/lib/moodlelib.php
->
line 3916
/lib/moodlelib.php
->
line 4020
/mod/chat/lib.php
->
line 387
/mod/chat/lib.php
->
line 388
/mod/chat/lib.php
->
line 394
/mod/assign/externallib.php
->
line 2667
/mod/assign/externallib.php
->
line 2670
/mod/assign/externallib.php
->
line 2672
/mod/assign/externallib.php
->
line 2704
/mod/scorm/report/interactions/classes/report.php
->
line 168
/mod/scorm/report/interactions/classes/report.php
->
line 169
/auth/none/settings.php
->
line 35
/user/classes/privacy/provider.php
->
line 57
/user/classes/privacy/provider.php
->
line 170
/course/externallib.php
->
line 4231
/course/externallib.php
->
line 4244
/backup/moodle2/backup_stepslib.php
->
line 1443
/backup/moodle2/backup_stepslib.php
->
line 1445
/backup/moodle2/backup_stepslib.php
->
line 1450
/backup/moodle2/backup_stepslib.php
->
line 1454
/backup/moodle2/backup_stepslib.php
->
line 1458
/backup/moodle2/backup_stepslib.php
->
line 1458
/backup/moodle2/backup_stepslib.php
->
line 1460
/mod/workshop/lib.php
->
line 1497
/mod/workshop/lib.php
->
line 1498
/lib/classes/check/access/riskbackup_result.php
->
line 173
/lib/classes/check/access/riskbackup_result.php
->
line 175
/admin/tool/uploaduser/picture.php
->
line 52
/admin/tool/uploaduser/picture.php
->
line 65
/admin/tool/uploaduser/picture.php
->
line 67
/admin/tool/uploaduser/picture.php
->
line 97
/user/externallib.php
->
line 49
/user/externallib.php
->
line 118
/user/externallib.php
->
line 472
/user/externallib.php
->
line 548
/user/externallib.php
->
line 1123
/user/externallib.php
->
line 1171
/user/externallib.php
->
line 1171
/user/externallib.php
->
line 1173
/mod/assign/gradingtable.php
->
line 139
/mod/assign/gradingtable.php
->
line 141
/lib/enrollib.php
->
line 1636
/lib/enrollib.php
->
line 1641
/auth/oauth2/settings.php
->
line 33
/webservice/lib.php
->
line 291
/webservice/lib.php
->
line 292
/course/classes/output/activity_information.php
->
line 131
/course/classes/output/activity_information.php
->
line 132
/mod/workshop/locallib.php
->
line 3409
/mod/workshop/locallib.php
->
line 3411
/admin/roles/assign.php
->
line 302
/admin/roles/assign.php
->
line 303
/mod/quiz/report/attemptsreport_table.php
->
line 428
/mod/quiz/report/attemptsreport_table.php
->
line 439
/mod/quiz/report/attemptsreport_table.php
->
line 453
/mod/quiz/report/attemptsreport_table.php
->
line 456
/lib/deprecatedlib.php
->
line 3077
/lib/deprecatedlib.php
->
line 3078
/lib/deprecatedlib.php
->
line 3141
/lib/deprecatedlib.php
->
line 3157
/lib/deprecatedlib.php
->
line 3178
/privacy/tests/privacy/provider_test.php
->
line 268
/privacy/tests/privacy/provider_test.php
->
line 276
/privacy/tests/privacy/provider_test.php
->
line 283
/privacy/tests/privacy/provider_test.php
->
line 287
/admin/user.php
->
line 189
/admin/user.php
->
line 190
/report/progress/index.php
->
line 58
/report/progress/index.php
->
line 59
/mod/feedback/lib.php
->
line 395
/mod/feedback/lib.php
->
line 396
/auth/shibboleth/settings.php
->
line 86
/grade/import/csv/tests/load_data_test.php
->
line 320
/grade/import/csv/tests/load_data_test.php
->
line 328
/grade/import/csv/tests/load_data_test.php
->
line 344
/user/action_redir.php
->
line 104
/user/action_redir.php
->
line 106
/user/action_redir.php
->
line 116
/user/action_redir.php
->
line 135
/user/action_redir.php
->
line 144
/user/action_redir.php
->
line 146
/mod/scorm/report/objectives/classes/report.php
->
line 162
/mod/scorm/report/objectives/classes/report.php
->
line 163
/lib/tests/oauth2_test.php
->
line 106
/lib/tests/oauth2_test.php
->
line 107
/lib/tests/oauth2_test.php
->
line 108
/lib/tests/oauth2_test.php
->
line 110
/lib/tests/oauth2_test.php
->
line 112
/lib/tests/oauth2_test.php
->
line 113
/mod/assign/lib.php
->
line 817
/mod/assign/lib.php
->
line 820
/mod/assign/lib.php
->
line 904
/mod/assign/lib.php
->
line 905
/mod/glossary/lib.php
->
line 571
/mod/glossary/lib.php
->
line 573
/mod/glossary/lib.php
->
line 3668
/mod/glossary/lib.php
->
line 3677
/mod/glossary/lib.php
->
line 3822
/mod/glossary/lib.php
->
line 3825
/lib/adminlib.php
->
line 4363
/lib/adminlib.php
->
line 4364
/mod/assign/override_form.php
->
line 166
/mod/assign/override_form.php
->
line 169
/lib/authlib.php
->
line 105
/lib/authlib.php
->
line 1187
/lib/authlib.php
->
line 1209
/lib/authlib.php
->
line 1209
/lib/authlib.php
->
line 1214
/admin/tool/policy/classes/api.php
->
line 347
/admin/tool/policy/classes/api.php
->
line 349
/message/classes/api.php
->
line 272
/message/classes/api.php
->
line 273
/message/classes/api.php
->
line 1079
/message/classes/api.php
->
line 1080
/message/classes/api.php
->
line 1097
/message/classes/api.php
->
line 1121
/message/classes/api.php
->
line 1122
/message/classes/api.php
->
line 1140
/message/classes/api.php
->
line 1930
/message/classes/api.php
->
line 1931
/message/classes/api.php
->
line 1937