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)
SYSCONTEXTID
[
Top level directory
]
Constant Cross Reference
at:
/lib/setuplib.php
->
line 803
/lib/classes/context/system.php
->
line 216
Referenced 122 times:
/lib/tests/context_test.php
->
line 47
/lib/tests/context_helper_test.php
->
line 288
/lib/setup.php
->
line 787
/comment/comment_ajax.php
->
line 30
/comment/comment_ajax.php
->
line 39
/privacy/classes/local/request/contextlist.php
->
line 91
/repository/youtube/lib.php
->
line 70
/repository/draftfiles_manager.php
->
line 50
/repository/webdav/lib.php
->
line 51
/analytics/classes/site.php
->
line 54
/repository/nextcloud/lib.php
->
line 108
/badges/classes/privacy/provider.php
->
line 139
/badges/classes/privacy/provider.php
->
line 275
/badges/classes/privacy/provider.php
->
line 350
/repository/lib.php
->
line 547
/repository/lib.php
->
line 1498
/repository/dropbox/thumbnail.php
->
line 32
/repository/equella/lib.php
->
line 49
/admin/tool/uploaduser/classes/process.php
->
line 1120
/admin/tool/uploaduser/classes/process.php
->
line 1121
/admin/tool/uploaduser/classes/process.php
->
line 1126
/admin/tool/uploaduser/classes/process.php
->
line 1127
/repository/s3/lib.php
->
line 59
/repository/recent/lib.php
->
line 56
/backup/moodle2/restore_stepslib.php
->
line 5712
/backup/moodle2/restore_stepslib.php
->
line 5740
/backup/moodle2/restore_stepslib.php
->
line 5747
/admin/tool/policy/classes/acceptances_table.php
->
line 405
/repository/url/lib.php
->
line 56
/repository/onedrive/lib.php
->
line 63
/lib/classes/context.php
->
line 470
/lib/classes/context.php
->
line 956
/lib/classes/context/course.php
->
line 205
/lib/classes/context/course.php
->
line 269
/lib/tests/context/system_test.php
->
line 50
/lib/tests/context/system_test.php
->
line 54
/lib/tests/context/system_test.php
->
line 206
/lib/tests/context/system_test.php
->
line 207
/lib/tests/context/system_test.php
->
line 211
/lib/questionlib.php
->
line 269
/lib/setuplib.php
->
line 802
/lib/setuplib.php
->
line 803
/lib/setuplib.php
->
line 803
/lib/accesslib.php
->
line 291
/admin/tool/analytics/classes/output/helper.php
->
line 131
/competency/tests/privacy/provider_test.php
->
line 2581
/competency/tests/privacy/provider_test.php
->
line 2582
/competency/tests/privacy/provider_test.php
->
line 2583
/competency/tests/privacy/provider_test.php
->
line 2584
/competency/tests/privacy/provider_test.php
->
line 2585
/comment/comment_post.php
->
line 31
/lib/tests/moodlelib_test.php
->
line 1628
/lib/tests/moodlelib_test.php
->
line 1712
/lib/tests/moodlelib_test.php
->
line 1732
/lib/tests/moodlelib_test.php
->
line 1733
/repository/flickr/lib.php
->
line 66
/lib/editor/tiny/plugins/media/manage.php
->
line 35
/grade/classes/privacy/provider.php
->
line 155
/grade/classes/privacy/provider.php
->
line 166
/grade/classes/privacy/provider.php
->
line 196
/grade/classes/privacy/provider.php
->
line 197
/repository/repository_ajax.php
->
line 38
/lib/classes/context/system.php
->
line 146
/lib/classes/context/system.php
->
line 149
/lib/classes/context/system.php
->
line 152
/lib/classes/context/system.php
->
line 185
/lib/classes/context/system.php
->
line 187
/lib/classes/context/system.php
->
line 215
/lib/classes/context/system.php
->
line 216
/lib/classes/context/system.php
->
line 283
/lib/classes/context/system.php
->
line 283
/lib/classes/context/system.php
->
line 284
/blog/classes/reportbuilder/datasource/blogs.php
->
line 65
/mod/feedback/tests/form/create_template_form_test.php
->
line 48
/report/insights/insights.php
->
line 136
/repository/googledocs/lib.php
->
line 82
/report/insights/prediction.php
->
line 81
/blog/locallib.php
->
line 194
/blog/locallib.php
->
line 501
/blog/locallib.php
->
line 502
/blog/locallib.php
->
line 1178
/comment/classes/external.php
->
line 238
/comment/classes/external.php
->
line 332
/lib/external/tests/privacy/provider_test.php
->
line 499
/lib/db/install.php
->
line 61
/repository/dropbox/lib.php
->
line 51
/lib/editor/atto/plugins/managefiles/manage.php
->
line 36
/mod/data/lib.php
->
line 46
/user/tests/externallib_test.php
->
line 651
/repository/filesystem/lib.php
->
line 55
/repository/filesystem/lib.php
->
line 711
/repository/filesystem/lib.php
->
line 725
/user/tests/userselector_test.php
->
line 61
/user/tests/userselector_test.php
->
line 174
/user/tests/userselector_test.php
->
line 204
/user/tests/userselector_test.php
->
line 205
/repository/filepicker.php
->
line 48
/mod/lti/tests/privacy/provider_test.php
->
line 115
/repository/filesystem/classes/task/cron_task.php
->
line 47
/repository/filesystem/classes/task/cron_task.php
->
line 48
/repository/filesystem/classes/task/cron_task.php
->
line 63
/repository/filesystem/classes/task/cron_task.php
->
line 64
/report/insights/settings.php
->
line 32
/lib/classes/context/coursecat.php
->
line 178
/lib/classes/context/coursecat.php
->
line 270
/user/filters/globalrole.php
->
line 104
/lib/portfolio/exporter.php
->
line 496
/lib/portfolio/exporter.php
->
line 830
/lib/portfolio/exporter.php
->
line 855
/lib/classes/context/user.php
->
line 167
/lib/classes/context/user.php
->
line 225
/repository/merlot/lib.php
->
line 49
/payment/classes/privacy/provider.php
->
line 101
/payment/classes/privacy/provider.php
->
line 156
/payment/classes/privacy/provider.php
->
line 217
/lib/db/upgrade.php
->
line 405
/grade/edit/letter/index.php
->
line 29
/repository/flickr_public/lib.php
->
line 84
/enrol/fee/classes/privacy/provider.php
->
line 127
/enrol/fee/classes/privacy/provider.php
->
line 218
/lib/filestorage/stored_file.php
->
line 80
/privacy/tests/contextlist_test.php
->
line 71