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)
set_user_preference
[
Top level directory
]
Function and Method Cross Reference
at:
/lib/moodlelib.php
->
line 1966
Referenced 321 times:
/admin/tool/mobile/tests/api_test.php
->
line 104
/communication/classes/api.php
->
line 644
/auth/ldap/auth.php
->
line 950
/lib/badgeslib.php
->
line 1251
/lib/badgeslib.php
->
line 1252
/lib/badgeslib.php
->
line 1253
/lib/badgeslib.php
->
line 1254
/question/bank/columnsortorder/tests/column_manager_test.php
->
line 211
/lib/editor/tests/privacy/provider_test.php
->
line 65
/lib/editor/tests/privacy/provider_test.php
->
line 87
/lib/tests/messagelib_test.php
->
line 414
/lib/tests/messagelib_test.php
->
line 502
/lib/tests/messagelib_test.php
->
line 535
/lib/tests/messagelib_test.php
->
line 568
/lib/tests/messagelib_test.php
->
line 602
/lib/tests/messagelib_test.php
->
line 637
/lib/tests/messagelib_test.php
->
line 670
/lib/tests/messagelib_test.php
->
line 785
/lib/tests/messagelib_test.php
->
line 871
/lib/tests/messagelib_test.php
->
line 943
/lib/tests/messagelib_test.php
->
line 944
/lib/tests/messagelib_test.php
->
line 1018
/lib/tests/messagelib_test.php
->
line 1019
/mod/assign/locallib.php
->
line 7331
/mod/assign/locallib.php
->
line 7333
/mod/assign/locallib.php
->
line 7336
/mod/assign/locallib.php
->
line 7339
/mod/assign/locallib.php
->
line 7342
/mod/assign/locallib.php
->
line 7345
/mod/assign/locallib.php
->
line 7347
/mod/assign/locallib.php
->
line 7351
/reportbuilder/classes/local/helpers/user_filter_manager.php
->
line 65
/mod/quiz/classes/local/reports/attempts_report_options.php
->
line 224
/grade/report/user/tests/privacy/provider_test.php
->
line 65
/repository/wikimedia/lib.php
->
line 57
/repository/wikimedia/lib.php
->
line 75
/repository/flickr/lib.php
->
line 104
/repository/flickr/lib.php
->
line 105
/repository/flickr/lib.php
->
line 394
/repository/flickr/lib.php
->
line 395
/grade/report/grader/preferences.php
->
line 60
/enrol/tests/enrollib_test.php
->
line 898
/mod/workshop/allocation/manual/tests/privacy/provider_test.php
->
line 59
/mod/assign/tests/locallib_test.php
->
line 193
/mod/assign/tests/locallib_test.php
->
line 196
/mod/assign/tests/locallib_test.php
->
line 977
/mod/assign/tests/locallib_test.php
->
line 1559
/mod/assign/tests/locallib_test.php
->
line 4600
/mod/assign/tests/locallib_test.php
->
line 4605
/mod/assign/tests/locallib_test.php
->
line 4610
/lib/tests/message_test.php
->
line 138
/lib/tests/message_test.php
->
line 235
/lib/authlib.php
->
line 932
/lib/authlib.php
->
line 948
/lib/authlib.php
->
line 949
/lib/authlib.php
->
line 989
/lib/authlib.php
->
line 993
/lib/enrollib.php
->
line 260
/mod/scorm/report/objectives/tests/privacy/provider_test.php
->
line 65
/mod/scorm/report/objectives/tests/privacy/provider_test.php
->
line 66
/admin/tool/mobile/classes/external.php
->
line 323
/lib/tests/behat/behat_navigation.php
->
line 1625
/admin/roles/tests/privacy/provider_test.php
->
line 54
/mod/forum/discuss.php
->
line 265
/auth/email/auth.php
->
line 135
/mod/workshop/allocation/manual/lib.php
->
line 68
/admin/tool/mobile/tests/externallib_test.php
->
line 310
/admin/tool/mobile/tests/externallib_test.php
->
line 322
/admin/tool/mobile/tests/externallib_test.php
->
line 413
/admin/tool/mobile/tests/externallib_test.php
->
line 422
/grade/report/user/index.php
->
line 39
/grade/report/singleview/tests/screen_test.php
->
line 79
/grade/report/singleview/tests/screen_test.php
->
line 90
/message/tests/privacy/provider_test.php
->
line 173
/message/tests/privacy/provider_test.php
->
line 174
/message/tests/privacy/provider_test.php
->
line 176
/message/tests/privacy/provider_test.php
->
line 177
/message/tests/privacy/provider_test.php
->
line 178
/message/tests/privacy/provider_test.php
->
line 181
/lib/classes/user.php
->
line 1267
/mod/assign/tests/downloader_test.php
->
line 66
/course/tests/courselib_test.php
->
line 5488
/lib/tests/editorlib_test.php
->
line 44
/lib/tests/editorlib_test.php
->
line 50
/blocks/online_users/tests/online_users_test.php
->
line 166
/blocks/online_users/tests/online_users_test.php
->
line 222
/blocks/online_users/tests/online_users_test.php
->
line 277
/lib/classes/useragent.php
->
line 305
/mod/quiz/report/overview/overview_options.php
->
line 73
/user/emailupdate.php
->
line 91
/lib/tablelib.php
->
line 1577
/user/externallib.php
->
line 251
/user/externallib.php
->
line 1864
/user/externallib.php
->
line 1871
/auth/manual/auth.php
->
line 86
/auth/manual/auth.php
->
line 102
/enrol/guest/classes/external/validate_password.php
->
line 94
/lib/tests/db/upgradelib_test.php
->
line 350
/lib/tests/db/upgradelib_test.php
->
line 351
/lib/tests/db/upgradelib_test.php
->
line 357
/lib/tests/db/upgradelib_test.php
->
line 358
/grade/grading/form/guide/tests/privacy/provider_test.php
->
line 64
/grade/grading/form/guide/tests/privacy/provider_test.php
->
line 65
/question/type/multichoice/tests/privacy/provider_test.php
->
line 73
/enrol/guest/tests/external/validate_password_test.php
->
line 58
/mod/workshop/view.php
->
line 89
/mod/quiz/report/responses/responses_options.php
->
line 99
/mod/quiz/report/responses/responses_options.php
->
line 100
/mod/quiz/report/responses/responses_options.php
->
line 101
/mod/quiz/report/responses/responses_options.php
->
line 103
/contentbank/tests/privacy/provider_test.php
->
line 393
/grade/grading/form/guide/lib.php
->
line 312
/grade/grading/form/guide/lib.php
->
line 315
/lib/tests/blocklib_test.php
->
line 539
/lib/tests/blocklib_test.php
->
line 542
/mod/quiz/report/overview/tests/privacy/provider_test.php
->
line 65
/mod/quiz/report/overview/tests/privacy/provider_test.php
->
line 93
/question/editlib.php
->
line 452
/question/type/match/tests/privacy/provider_test.php
->
line 73
/blocks/admin_bookmarks/delete.php
->
line 50
/message/classes/task/migrate_message_data.php
->
line 107
/mod/quiz/report/grading/report.php
->
line 450
/mod/quiz/report/grading/report.php
->
line 451
/theme/boost/tests/privacy/provider_test.php
->
line 64
/question/type/gapselect/tests/privacy/provider_test.php
->
line 73
/my/index.php
->
line 107
/grade/report/grader/lib.php
->
line 1741
/grade/report/grader/lib.php
->
line 1787
/admin/tool/mobile/tests/privacy/provider_test.php
->
line 56
/mod/forum/tests/privacy/provider_test.php
->
line 2014
/mod/forum/tests/privacy/provider_test.php
->
line 2015
/lib/tests/datalib_test.php
->
line 127
/lib/tests/datalib_test.php
->
line 128
/lib/tests/datalib_test.php
->
line 142
/lib/tests/datalib_test.php
->
line 143
/admin/tool/uploaduser/classes/process.php
->
line 856
/admin/tool/uploaduser/classes/process.php
->
line 1021
/admin/tool/uploaduser/classes/process.php
->
line 1024
/lib/tests/authlib_test.php
->
line 77
/lib/tests/authlib_test.php
->
line 96
/lib/tests/authlib_test.php
->
line 98
/lib/tests/authlib_test.php
->
line 103
/enrol/tests/externallib_test.php
->
line 520
/login/tests/behat/behat_login.php
->
line 50
/admin/tool/dataprivacy/tests/privacy/provider_test.php
->
line 166
/admin/tool/dataprivacy/tests/privacy/provider_test.php
->
line 169
/question/bank/columnsortorder/classes/column_manager.php
->
line 164
/mod/data/view.php
->
line 164
/course/management.php
->
line 428
/question/type/ddwtos/tests/privacy/provider_test.php
->
line 73
/my/tests/privacy/provider_test.php
->
line 52
/lib/tests/moodlelib_test.php
->
line 1452
/lib/tests/moodlelib_test.php
->
line 1456
/lib/tests/moodlelib_test.php
->
line 1463
/lib/tests/moodlelib_test.php
->
line 1467
/lib/tests/moodlelib_test.php
->
line 1473
/lib/tests/moodlelib_test.php
->
line 1482
/lib/tests/moodlelib_test.php
->
line 1489
/lib/tests/moodlelib_test.php
->
line 1497
/lib/tests/moodlelib_test.php
->
line 1505
/lib/tests/moodlelib_test.php
->
line 1511
/lib/tests/moodlelib_test.php
->
line 1517
/lib/tests/moodlelib_test.php
->
line 1523
/lib/tests/moodlelib_test.php
->
line 1529
/lib/tests/moodlelib_test.php
->
line 1535
/lib/tests/moodlelib_test.php
->
line 1547
/lib/tests/moodlelib_test.php
->
line 1548
/lib/tests/moodlelib_test.php
->
line 1557
/lib/ajax/setuserpref.php
->
line 49
/blocks/admin_bookmarks/create.php
->
line 53
/user/lib.php
->
line 701
/grade/report/grader/index.php
->
line 78
/calendar/tests/privacy/provider_test.php
->
line 284
/user/selector/lib.php
->
line 651
/index.php
->
line 75
/webservice/tests/externallib_test.php
->
line 163
/course/format/tests/base_test.php
->
line 322
/course/format/tests/base_test.php
->
line 416
/course/format/tests/base_test.php
->
line 425
/course/format/tests/base_test.php
->
line 442
/admin/tool/mfa/classes/manager.php
->
line 602
/lib/classes/session/manager.php
->
line 1166
/lib/classes/external/record_userfeedback_action.php
->
line 61
/lib/classes/external/record_userfeedback_action.php
->
line 66
/auth/tests/privacy/provider_test.php
->
line 65
/auth/tests/privacy/provider_test.php
->
line 66
/auth/tests/privacy/provider_test.php
->
line 67
/auth/tests/privacy/provider_test.php
->
line 68
/auth/tests/privacy/provider_test.php
->
line 69
/auth/tests/privacy/provider_test.php
->
line 70
/auth/tests/privacy/provider_test.php
->
line 71
/auth/tests/privacy/provider_test.php
->
line 72
/auth/tests/privacy/provider_test.php
->
line 74
/auth/tests/privacy/provider_test.php
->
line 75
/auth/tests/privacy/provider_test.php
->
line 76
/mod/quiz/report/grading/tests/privacy/provider_test.php
->
line 63
/mod/quiz/report/grading/tests/privacy/provider_test.php
->
line 64
/mod/quiz/report/grading/tests/privacy/provider_test.php
->
line 91
/course/format/tests/privacy/provider_test.php
->
line 50
/admin/tool/dataprivacy/datarequests.php
->
line 58
/admin/tool/dataprivacy/datarequests.php
->
line 80
/lib/classes/task/send_new_user_passwords_task.php
->
line 70
/lib/moodlelib.php
->
line 1987
/lib/moodlelib.php
->
line 1994
/lib/moodlelib.php
->
line 1996
/lib/moodlelib.php
->
line 2001
/lib/moodlelib.php
->
line 2011
/lib/moodlelib.php
->
line 2064
/lib/moodlelib.php
->
line 3924
/lib/moodlelib.php
->
line 4456
/lib/moodlelib.php
->
line 4634
/user/tests/externallib_test.php
->
line 1214
/user/tests/externallib_test.php
->
line 1215
/report/progress/index.php
->
line 122
/report/progress/index.php
->
line 125
/mod/scorm/report/interactions/tests/privacy/provider_test.php
->
line 65
/mod/scorm/report/interactions/tests/privacy/provider_test.php
->
line 66
/mod/scorm/report/interactions/tests/privacy/provider_test.php
->
line 67
/mod/scorm/report/interactions/tests/privacy/provider_test.php
->
line 68
/mod/scorm/report/interactions/tests/privacy/provider_test.php
->
line 69
/course/format/classes/base.php
->
line 656
/admin/user/user_bulk_forcepasswordchange.php
->
line 46
/question/type/ddimageortext/tests/privacy/provider_test.php
->
line 73
/mod/quiz/report/responses/tests/privacy/provider_test.php
->
line 67
/mod/quiz/report/responses/tests/privacy/provider_test.php
->
line 68
/mod/quiz/report/responses/tests/privacy/provider_test.php
->
line 69
/mod/quiz/report/responses/tests/privacy/provider_test.php
->
line 97
/mod/quiz/report/responses/tests/privacy/provider_test.php
->
line 98
/mod/quiz/report/responses/tests/privacy/provider_test.php
->
line 99
/mod/quiz/report/responses/tests/privacy/provider_test.php
->
line 127
/message/tests/api_test.php
->
line 2947
/message/tests/api_test.php
->
line 2948
/message/tests/api_test.php
->
line 3036
/message/tests/api_test.php
->
line 3079
/message/tests/api_test.php
->
line 3099
/message/tests/api_test.php
->
line 3132
/message/tests/api_test.php
->
line 3379
/message/tests/api_test.php
->
line 3469
/message/tests/api_test.php
->
line 3493
/message/tests/api_test.php
->
line 3569
/message/tests/api_test.php
->
line 3642
/message/tests/api_test.php
->
line 3643
/mod/scorm/report/basic/tests/privacy/provider_test.php
->
line 65
/mod/scorm/report/basic/tests/privacy/provider_test.php
->
line 66
/question/type/ddmarker/tests/privacy/provider_test.php
->
line 73
/login/index.php
->
line 264
/grade/report/lib.php
->
line 283
/lib/behat/classes/behat_core_generator.php
->
line 1016
/mod/forum/view.php
->
line 101
/mod/forum/view.php
->
line 177
/question/type/questiontypebase.php
->
line 317
/grade/tests/lib_test.php
->
line 759
/message/tests/externallib_test.php
->
line 249
/message/tests/externallib_test.php
->
line 285
/message/tests/externallib_test.php
->
line 1985
/message/tests/externallib_test.php
->
line 3495
/message/tests/externallib_test.php
->
line 3496
/admin/tool/usertours/tests/tour_test.php
->
line 696
/admin/tool/usertours/tests/tour_test.php
->
line 700
/admin/tool/usertours/tests/tour_test.php
->
line 820
/question/type/shortanswer/tests/privacy/provider_test.php
->
line 73
/question/type/essay/tests/privacy/provider_test.php
->
line 73
/report/completion/index.php
->
line 174
/report/completion/index.php
->
line 177
/question/type/numerical/tests/privacy/provider_test.php
->
line 73
/blocks/timeline/tests/privacy/provider_test.php
->
line 64
/mod/forum/tests/mail_test.php
->
line 876
/admin/tool/mfa/tests/manager_test.php
->
line 257
/admin/tool/mfa/tests/manager_test.php
->
line 259
/user/renderer.php
->
line 48
/user/renderer.php
->
line 51
/user/renderer.php
->
line 93
/user/renderer.php
->
line 96
/grade/tests/report_graderlib_test.php
->
line 189
/grade/tests/report_graderlib_test.php
->
line 208
/grade/tests/report_graderlib_test.php
->
line 224
/grade/tests/report_graderlib_test.php
->
line 303
/grade/tests/report_graderlib_test.php
->
line 338
/grade/tests/report_graderlib_test.php
->
line 372
/grade/tests/report_graderlib_test.php
->
line 401
/grade/tests/report_graderlib_test.php
->
line 431
/mod/scorm/report/objectives/classes/report.php
->
line 73
/mod/scorm/report/objectives/classes/report.php
->
line 74
/backup/util/helper/tests/async_helper_test.php
->
line 61
/message/output/airnotifier/tests/externallib_test.php
->
line 86
/message/output/airnotifier/tests/externallib_test.php
->
line 87
/mod/forum/tests/maildigest_test.php
->
line 796
/mod/forum/tests/maildigest_test.php
->
line 853
/mod/lesson/edit.php
->
line 54
/user/editadvanced.php
->
line 280
/admin/roles/define.php
->
line 72
/lib/tests/user_test.php
->
line 803
/auth/db/auth.php
->
line 471
/auth/db/auth.php
->
line 472
/grade/report/grader/tests/privacy/provider_test.php
->
line 71
/grade/report/grader/tests/privacy/provider_test.php
->
line 72
/grade/report/grader/tests/privacy/provider_test.php
->
line 98
/lib/form/tests/privacy/provider_test.php
->
line 66
/mod/scorm/report/basic/classes/report.php
->
line 66
/mod/scorm/report/basic/classes/report.php
->
line 67
/admin/tool/mfa/reset_factor.php
->
line 68
/blocks/tests/privacy/provider_test.php
->
line 423
/blocks/tests/privacy/provider_test.php
->
line 434
/group/tests/lib_test.php
->
line 877
/admin/tool/usertours/classes/tour.php
->
line 702
/admin/tool/usertours/classes/tour.php
->
line 713
/user/editlib.php
->
line 183
/badges/tests/badgeslib_test.php
->
line 321
/mod/scorm/report/interactions/classes/report.php
->
line 70
/mod/scorm/report/interactions/classes/report.php
->
line 71
/mod/scorm/report/interactions/classes/report.php
->
line 72
/mod/scorm/report/interactions/classes/report.php
->
line 73
/mod/scorm/report/interactions/classes/report.php
->
line 74
/blocks/myoverview/tests/privacy/provider_test.php
->
line 59
/blocks/myoverview/tests/privacy/provider_test.php
->
line 98
/user/edit.php
->
line 203
/user/edit.php
->
line 204
/user/edit.php
->
line 205
/question/bank/previewquestion/classes/question_preview_options.php
->
line 114
/mod/forum/tests/grade/forum_gradeitem_test.php
->
line 205
/calendar/lib.php
->
line 2666