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)
rolename
[
Top level directory
]
Variable Cross Reference
at:
/lib/tests/accesslib_test.php
->
line 738
/mod/data/tests/template_test.php
->
line 59
/admin/tool/uploaduser/classes/process.php
->
line 1163
/admin/tool/uploaduser/classes/process.php
->
line 1220
/admin/tool/uploaduser/classes/process.php
->
line 1241
/reportbuilder/tests/reportbuilder/audience/systemrole_test.php
->
line 52
/search/tests/document_test.php
->
line 150
/admin/tool/unsuproles/index.php
->
line 63
/admin/tool/unsuproles/index.php
->
line 98
/course/lib.php
->
line 2148
/course/lib.php
->
line 2153
/admin/tool/cohortroles/tests/privacy/provider_test.php
->
line 360
/report/stats/locallib.php
->
line 224
/report/stats/locallib.php
->
line 229
/course/format/tests/output/local/state/section_test.php
->
line 57
/course/format/tests/output/local/state/section_test.php
->
line 90
/admin/settings/users.php
->
line 133
/enrol/database/tests/sync_test.php
->
line 207
/enrol/database/tests/sync_test.php
->
line 220
/course/format/tests/output/local/state/cm_test.php
->
line 57
/course/format/tests/output/local/state/cm_test.php
->
line 91
/backup/util/dbops/restore_dbops.class.php
->
line 1854
/admin/roles/override.php
->
line 137
/lib/statslib.php
->
line 1165
/lib/statslib.php
->
line 1168
/lib/outputrenderers.php
->
line 1199
/lib/outputrenderers.php
->
line 1201
/admin/roles/check.php
->
line 152
/admin/roles/check.php
->
line 154
Referenced 163 times:
/admin/roles/classes/privacy/provider.php
->
line 257
/admin/roles/classes/privacy/provider.php
->
line 259
/admin/roles/classes/privacy/provider.php
->
line 304
/admin/roles/classes/privacy/provider.php
->
line 306
/admin/roles/classes/privacy/provider.php
->
line 345
/admin/roles/classes/privacy/provider.php
->
line 347
/mnet/service/enrol/tests/privacy/provider_test.php
->
line 341
/lib/tests/behat/behat_permissions.php
->
line 49
/lib/tests/behat/behat_permissions.php
->
line 55
/lib/tests/behat/behat_permissions.php
->
line 56
/lib/tests/behat/behat_permissions.php
->
line 56
/lib/tests/behat/behat_permissions.php
->
line 56
/lib/tests/behat/behat_permissions.php
->
line 60
/lib/tests/behat/behat_permissions.php
->
line 62
/lib/tests/behat/behat_permissions.php
->
line 99
/lib/tests/behat/behat_permissions.php
->
line 102
/lib/tests/behat/behat_permissions.php
->
line 226
/lib/tests/behat/behat_permissions.php
->
line 240
/lib/tests/accesslib_test.php
->
line 738
/lib/tests/accesslib_test.php
->
line 739
/lib/tests/accesslib_test.php
->
line 966
/lib/tests/accesslib_test.php
->
line 967
/lib/tests/accesslib_test.php
->
line 970
/lib/tests/accesslib_test.php
->
line 974
/lib/tests/accesslib_test.php
->
line 977
/lib/tests/accesslib_test.php
->
line 1244
/lib/tests/accesslib_test.php
->
line 1245
/lib/tests/accesslib_test.php
->
line 1437
/lib/tests/accesslib_test.php
->
line 1438
/auth/mnet/auth.php
->
line 579
/lib/tests/weblib_test.php
->
line 490
/lib/tests/weblib_test.php
->
line 502
/lib/tests/weblib_test.php
->
line 515
/lib/tests/weblib_test.php
->
line 518
/auth/ldap/lang/en/auth_ldap.php
->
line 112
/mod/data/tests/template_test.php
->
line 59
/mod/data/tests/template_test.php
->
line 89
/mod/data/tests/template_test.php
->
line 94
/badges/classes/privacy/provider.php
->
line 362
/admin/tool/uploaduser/classes/process.php
->
line 1163
/admin/tool/uploaduser/classes/process.php
->
line 1164
/admin/tool/uploaduser/classes/process.php
->
line 1165
/admin/tool/uploaduser/classes/process.php
->
line 1169
/admin/tool/uploaduser/classes/process.php
->
line 1220
/admin/tool/uploaduser/classes/process.php
->
line 1221
/admin/tool/uploaduser/classes/process.php
->
line 1222
/admin/tool/uploaduser/classes/process.php
->
line 1224
/admin/tool/uploaduser/classes/process.php
->
line 1241
/admin/tool/uploaduser/classes/process.php
->
line 1242
/admin/tool/uploaduser/classes/process.php
->
line 1243
/admin/tool/uploaduser/classes/process.php
->
line 1245
/reportbuilder/tests/reportbuilder/audience/systemrole_test.php
->
line 52
/reportbuilder/tests/reportbuilder/audience/systemrole_test.php
->
line 61
/group/lib.php
->
line 1069
/mnet/service/enrol/host.php
->
line 107
/search/tests/document_test.php
->
line 150
/search/tests/document_test.php
->
line 164
/search/tests/document_test.php
->
line 170
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 239
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 240
/admin/tool/unsuproles/index.php
->
line 63
/admin/tool/unsuproles/index.php
->
line 64
/admin/tool/unsuproles/index.php
->
line 98
/admin/tool/unsuproles/index.php
->
line 106
/user/classes/output/user_roles_editable.php
->
line 200
/course/lib.php
->
line 2148
/course/lib.php
->
line 2149
/course/lib.php
->
line 2150
/course/lib.php
->
line 2153
/course/lib.php
->
line 2154
/course/lib.php
->
line 2155
/course/lib.php
->
line 2156
/course/lib.php
->
line 2157
/mnet/service/enrol/locallib.php
->
line 199
/mnet/service/enrol/locallib.php
->
line 318
/mnet/service/enrol/course.php
->
line 150
/mnet/service/enrol/course.php
->
line 187
/admin/tool/cohortroles/tests/privacy/provider_test.php
->
line 360
/admin/tool/cohortroles/tests/privacy/provider_test.php
->
line 362
/admin/roles/assign.php
->
line 331
/admin/roles/assign.php
->
line 334
/report/stats/locallib.php
->
line 224
/report/stats/locallib.php
->
line 229
/report/stats/locallib.php
->
line 238
/report/stats/locallib.php
->
line 454
/report/stats/locallib.php
->
line 456
/admin/tool/uploadcourse/classes/course.php
->
line 714
/admin/tool/uploadcourse/classes/course.php
->
line 715
/mod/lti/tests/locallib_test.php
->
line 1897
/mod/lti/tests/locallib_test.php
->
line 1902
/mod/lti/tests/locallib_test.php
->
line 1902
/course/format/tests/output/local/state/section_test.php
->
line 57
/course/format/tests/output/local/state/section_test.php
->
line 62
/course/format/tests/output/local/state/section_test.php
->
line 90
/course/format/tests/output/local/state/section_test.php
->
line 104
/lang/en/filters.php
->
line 40
/admin/settings/users.php
->
line 133
/admin/settings/users.php
->
line 136
/admin/settings/users.php
->
line 142
/admin/settings/users.php
->
line 145
/admin/settings/users.php
->
line 151
/admin/settings/users.php
->
line 155
/admin/settings/users.php
->
line 160
/admin/settings/users.php
->
line 161
/enrol/database/tests/sync_test.php
->
line 207
/enrol/database/tests/sync_test.php
->
line 217
/enrol/database/tests/sync_test.php
->
line 220
/enrol/database/tests/sync_test.php
->
line 225
/enrol/database/tests/sync_test.php
->
line 227
/enrol/database/tests/sync_test.php
->
line 228
/mod/data/tests/manager_test.php
->
line 442
/mod/data/tests/manager_test.php
->
line 447
/course/format/tests/stateactions_test.php
->
line 175
/course/format/tests/stateactions_test.php
->
line 176
/course/format/tests/stateactions_test.php
->
line 180
/course/format/tests/stateactions_test.php
->
line 181
/user/filters/courserole.php
->
line 170
/user/filters/courserole.php
->
line 172
/admin/tool/policy/classes/output/acceptances_filter.php
->
line 421
/admin/tool/policy/classes/output/acceptances_filter.php
->
line 423
/course/format/tests/output/local/state/cm_test.php
->
line 57
/course/format/tests/output/local/state/cm_test.php
->
line 62
/course/format/tests/output/local/state/cm_test.php
->
line 91
/course/format/tests/output/local/state/cm_test.php
->
line 107
/enrol/tests/behat/behat_enrol.php
->
line 83
/enrol/tests/behat/behat_enrol.php
->
line 98
/enrol/tests/behat/behat_enrol.php
->
line 107
/user/tests/table/participants_search_test.php
->
line 144
/user/tests/table/participants_search_test.php
->
line 145
/user/tests/table/participants_search_test.php
->
line 150
/user/tests/table/participants_search_test.php
->
line 151
/user/tests/table/participants_search_test.php
->
line 169
/user/tests/table/participants_search_test.php
->
line 170
/user/tests/table/participants_search_test.php
->
line 3073
/user/tests/table/participants_search_test.php
->
line 3074
/course/classes/list_element.php
->
line 177
/course/format/topics/tests/courseformat/stateactions_test.php
->
line 38
/course/format/topics/tests/courseformat/stateactions_test.php
->
line 40
/course/format/topics/tests/courseformat/stateactions_test.php
->
line 44
/course/format/topics/tests/courseformat/stateactions_test.php
->
line 45
/course/format/topics/tests/courseformat/stateactions_test.php
->
line 59
/course/format/topics/tests/courseformat/stateactions_test.php
->
line 69
/course/format/topics/tests/courseformat/stateactions_test.php
->
line 127
/course/format/topics/tests/courseformat/stateactions_test.php
->
line 140
/backup/util/dbops/restore_dbops.class.php
->
line 1854
/backup/util/dbops/restore_dbops.class.php
->
line 1855
/backup/util/dbops/restore_dbops.class.php
->
line 1856
/backup/util/dbops/restore_dbops.class.php
->
line 1857
/backup/util/dbops/restore_dbops.class.php
->
line 1858
/backup/util/dbops/restore_dbops.class.php
->
line 1859
/admin/roles/override.php
->
line 137
/lib/statslib.php
->
line 1165
/lib/statslib.php
->
line 1168
/lib/statslib.php
->
line 1171
/lib/statslib.php
->
line 1172
/lib/outputrenderers.php
->
line 1199
/lib/outputrenderers.php
->
line 1201
/lib/outputrenderers.php
->
line 1203
/mnet/service/enrol/classes/privacy/provider.php
->
line 156
/admin/roles/check.php
->
line 152
/admin/roles/check.php
->
line 154
/admin/roles/check.php
->
line 155
/admin/roles/check.php
->
line 159