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_assignable_roles
[
Top level directory
]
Function and Method Cross Reference
at:
/enrol/locallib.php
->
line 717
/lib/accesslib.php
->
line 3083
Referenced 64 times:
/reportbuilder/classes/reportbuilder/audience/systemrole.php
->
line 41
/reportbuilder/classes/reportbuilder/audience/systemrole.php
->
line 102
/reportbuilder/classes/reportbuilder/audience/systemrole.php
->
line 120
/enrol/ajax.php
->
line 81
/enrol/locallib.php
->
line 724
/enrol/locallib.php
->
line 752
/enrol/locallib.php
->
line 824
/enrol/locallib.php
->
line 858
/enrol/locallib.php
->
line 1158
/admin/tool/policy/classes/output/acceptances_filter.php
->
line 83
/admin/tool/uploaduser/locallib.php
->
line 367
/admin/tool/uploaduser/locallib.php
->
line 383
/admin/tool/uploaduser/locallib.php
->
line 385
/admin/tool/uploaduser/locallib.php
->
line 387
/admin/tool/uploaduser/locallib.php
->
line 411
/admin/tool/uploadcourse/classes/course.php
->
line 1141
/lib/blocklib.php
->
line 1360
/admin/roles/usersroles.php
->
line 119
/admin/tool/dataprivacy/settings.php
->
line 62
/user/classes/output/participants_filter.php
->
line 140
/enrol/externallib.php
->
line 1244
/enrol/externallib.php
->
line 1311
/course/reset_form.php
->
line 58
/enrol/manual/externallib.php
->
line 102
/admin/roles/override.php
->
line 81
/enrol/manual/ajax.php
->
line 107
/reportbuilder/tests/reportbuilder/audience/systemrole_test.php
->
line 74
/reportbuilder/tests/reportbuilder/audience/systemrole_test.php
->
line 104
/reportbuilder/tests/reportbuilder/audience/systemrole_test.php
->
line 146
/enrol/otherusers.php
->
line 84
/enrol/cohort/lib.php
->
line 376
/lib/tests/accesslib_test.php
->
line 1206
/lib/tests/accesslib_test.php
->
line 1231
/lib/tests/accesslib_test.php
->
line 1238
/lib/tests/accesslib_test.php
->
line 1239
/lib/tests/accesslib_test.php
->
line 1241
/lib/tests/accesslib_test.php
->
line 1247
/lib/tests/accesslib_test.php
->
line 1248
/lib/tests/accesslib_test.php
->
line 1260
/lib/tests/accesslib_test.php
->
line 1269
/lib/tests/accesslib_test.php
->
line 1270
/lib/tests/accesslib_test.php
->
line 1307
/lib/tests/accesslib_test.php
->
line 1314
/enrol/self/lib.php
->
line 1014
/user/classes/table/participants.php
->
line 211
/backup/util/dbops/restore_dbops.class.php
->
line 367
/enrol/lti/lib.php
->
line 278
/enrol/imsenterprise/settings.php
->
line 73
/user/classes/output/user_roles_editable.php
->
line 177
/admin/roles/assign.php
->
line 70
/admin/roles/assign.php
->
line 122
/admin/roles/assign.php
->
line 140
/enrol/manual/manage.php
->
line 54
/lib/navigationlib.php
->
line 4824
/lib/navigationlib.php
->
line 5292
/lib/navigationlib.php
->
line 5420
/lib/navigationlib.php
->
line 5488
/auth/ldap/locallib.php
->
line 37
/user/filters/globalrole.php
->
line 61
/enrol/mnet/lib.php
->
line 140
/admin/roles/permissions.php
->
line 79
/user/renderer.php
->
line 136
/backup/util/ui/restore_ui_stage.class.php
->
line 1063
/enrol/manual/classes/enrol_users_form.php
->
line 119