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)
get_user_by_username
[
Top level directory
]
Function and Method Cross Reference
at:
/lib/classes/user.php
->
line 157
Referenced 88 times:
/login/tests/behat/behat_login.php
->
line 49
/mod/bigbluebuttonbn/tests/behat/behat_mod_bigbluebuttonbn.php
->
line 200
/mod/scorm/report/interactions/tests/privacy/provider_test.php
->
line 51
/lib/tests/user_test.php
->
line 95
/lib/tests/user_test.php
->
line 98
/lib/tests/user_test.php
->
line 101
/lib/tests/user_test.php
->
line 108
/lib/tests/user_test.php
->
line 111
/auth/oauth2/classes/auth.php
->
line 533
/lib/tests/task/adhoc_task_test.php
->
line 216
/lib/tests/task/adhoc_task_test.php
->
line 314
/lib/tests/task/adhoc_task_test.php
->
line 361
/lib/tests/task/adhoc_task_test.php
->
line 368
/lib/tests/task/adhoc_task_test.php
->
line 406
/mod/data/lib.php
->
line 3165
/privacy/tests/manager_test.php
->
line 216
/privacy/tests/manager_test.php
->
line 365
/privacy/tests/manager_test.php
->
line 400
/privacy/tests/manager_test.php
->
line 435
/privacy/tests/manager_test.php
->
line 465
/mod/scorm/report/objectives/tests/privacy/provider_test.php
->
line 51
/privacy/tests/writer_test.php
->
line 71
/privacy/tests/writer_test.php
->
line 92
/admin/classes/form/testoutgoingmailconf_form.php
->
line 83
/mod/bigbluebuttonbn/tests/external/get_recordings_test.php
->
line 148
/mod/bigbluebuttonbn/tests/external/get_recordings_test.php
->
line 168
/mod/bigbluebuttonbn/tests/external/get_recordings_test.php
->
line 203
/mod/bigbluebuttonbn/tests/external/get_recordings_test.php
->
line 245
/mod/bigbluebuttonbn/tests/external/get_recordings_test.php
->
line 293
/mod/bigbluebuttonbn/tests/external/get_recordings_test.php
->
line 354
/mod/bigbluebuttonbn/tests/external/get_recordings_test.php
->
line 388
/grade/grading/form/guide/tests/privacy/provider_test.php
->
line 48
/privacy/tests/legacy_polyfill_test.php
->
line 114
/privacy/tests/legacy_polyfill_test.php
->
line 148
/enrol/lti/classes/task/sync_members.php
->
line 236
/privacy/tests/moodle_content_writer_test.php
->
line 75
/privacy/tests/moodle_content_writer_test.php
->
line 104
/privacy/tests/moodle_content_writer_test.php
->
line 260
/privacy/tests/moodle_content_writer_test.php
->
line 540
/privacy/tests/contextlist_collection_test.php
->
line 63
/admin/tool/usertours/tests/privacy/provider_test.php
->
line 70
/admin/tool/usertours/tests/privacy/provider_test.php
->
line 89
/admin/tool/usertours/tests/privacy/provider_test.php
->
line 112
/admin/tool/usertours/tests/privacy/provider_test.php
->
line 168
/admin/roles/tests/privacy/provider_test.php
->
line 485
/admin/roles/tests/privacy/provider_test.php
->
line 606
/mod/quiz/tests/restore_attempt_test.php
->
line 93
/mod/quiz/tests/restore_attempt_test.php
->
line 103
/mod/scorm/report/basic/tests/privacy/provider_test.php
->
line 51
/reportbuilder/tests/task/send_schedule_test.php
->
line 110
/lib/tests/accesslib_has_capability_test.php
->
line 92
/lib/tests/accesslib_has_capability_test.php
->
line 258
/lib/tests/accesslib_has_capability_test.php
->
line 608
/grade/report/user/tests/privacy/provider_test.php
->
line 52
/privacy/tests/tests_content_writer_test.php
->
line 79
/privacy/tests/tests_content_writer_test.php
->
line 159
/privacy/tests/tests_content_writer_test.php
->
line 197
/privacy/tests/tests_content_writer_test.php
->
line 239
/privacy/tests/tests_content_writer_test.php
->
line 320
/privacy/tests/tests_content_writer_test.php
->
line 402
/privacy/tests/tests_content_writer_test.php
->
line 471
/privacy/tests/userlist_base_test.php
->
line 240
/privacy/tests/contextlist_base_test.php
->
line 97
/cohort/tests/reportbuilder/datasource/cohorts_test.php
->
line 126
/admin/tool/dataprivacy/tests/manager_observer_test.php
->
line 86
/mod/bigbluebuttonbn/classes/test/testcase_helper_trait.php
->
line 251
/privacy/tests/approved_contextlist_test.php
->
line 48
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 302
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 324
/question/tests/privacy/provider_test.php
->
line 285
/question/tests/privacy/provider_test.php
->
line 366
/auth/lti/auth.php
->
line 195
/auth/lti/auth.php
->
line 238
/privacy/tests/request_helper_test.php
->
line 51
/privacy/tests/request_helper_test.php
->
line 91
/privacy/tests/request_helper_test.php
->
line 146
/privacy/tests/request_helper_test.php
->
line 172
/privacy/tests/request_helper_test.php
->
line 192
/admin/tool/uploaduser/tests/cli_test.php
->
line 112
/admin/tool/uploaduser/tests/cli_test.php
->
line 144
/admin/tool/uploaduser/tests/cli_test.php
->
line 240
/admin/tool/uploaduser/tests/cli_test.php
->
line 242
/admin/tool/uploaduser/tests/cli_test.php
->
line 283
/admin/tool/uploaduser/tests/cli_test.php
->
line 285
/reportbuilder/tests/local/helpers/database_test.php
->
line 41
/grade/report/grader/tests/privacy/provider_test.php
->
line 55
/admin/testoutgoingmailconf.php
->
line 53
/auth/manual/auth.php
->
line 173