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)
mapping
[
Top level directory
]
Variable Cross Reference
at:
/lib/classes/oauth2/discovery/openidconnect.php
->
line 91
/mod/lti/locallib.php
->
line 129
/mod/lti/locallib.php
->
line 132
/mod/lti/locallib.php
->
line 134
/mod/lti/locallib.php
->
line 3374
/lib/classes/string_manager_standard.php
->
line 472
/backup/util/helper/restore_log_rule.class.php
->
line 200
/backup/util/plan/restore_structure_step.class.php
->
line 211
/backup/util/helper/restore_decode_content.class.php
->
line 50
/backup/moodle2/restore_stepslib.php
->
line 435
/backup/moodle2/restore_stepslib.php
->
line 447
/backup/moodle2/restore_stepslib.php
->
line 2547
/backup/moodle2/restore_stepslib.php
->
line 2549
/backup/moodle2/restore_stepslib.php
->
line 4934
/mod/workshop/form/numerrors/backup/moodle1/lib.php
->
line 61
/admin/tool/usertours/db/install.php
->
line 47
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 221
/badges/classes/backpack_api.php
->
line 113
/badges/classes/backpack_api.php
->
line 183
/badges/classes/backpack_api.php
->
line 247
/badges/classes/backpack_api.php
->
line 287
/question/type/multichoice/question.php
->
line 109
/blocks/activity_results/backup/moodle2/restore_activity_results_block_task.class.php
->
line 79
/cache/classes/output/renderer.php
->
line 243
/cache/classes/output/renderer.php
->
line 245
/mod/assign/externallib.php
->
line 1286
/admin/tool/usertours/classes/target.php
->
line 55
/mod/lti/tests/locallib_test.php
->
line 630
/mod/lti/tests/locallib_test.php
->
line 644
/badges/classes/backpack_api2p1.php
->
line 140
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/PasswordHasher.php
->
line 22
/lib/classes/oauth2/service/clever.php
->
line 74
/mod/assign/tests/externallib_test.php
->
line 790
/mod/assign/tests/externallib_test.php
->
line 808
/question/type/match/question.php
->
line 132
/question/type/match/question.php
->
line 141
/enrol/database/lib.php
->
line 376
/enrol/database/lib.php
->
line 377
/enrol/database/lib.php
->
line 378
/enrol/database/lib.php
->
line 511
/grade/tests/component_gradeitems_test.php
->
line 66
/mod/assign/feedback/editpdf/fpdi/PdfParser/PdfParser.php
->
line 364
/lib/classes/oauth2/service/microsoft.php
->
line 77
/lib/horde/framework/Horde/Imap/Client/Base.php
->
line 3686
/lib/classes/oauth2/service/nextcloud.php
->
line 85
/lib/classes/oauth2/service/facebook.php
->
line 90
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 101
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 129
/backup/util/dbops/tests/restore_dbops_test.php
->
line 51
Referenced 342 times:
/lib/classes/oauth2/discovery/openidconnect.php
->
line 91
/lib/classes/oauth2/discovery/openidconnect.php
->
line 103
/mod/lti/locallib.php
->
line 129
/mod/lti/locallib.php
->
line 132
/mod/lti/locallib.php
->
line 132
/mod/lti/locallib.php
->
line 134
/mod/lti/locallib.php
->
line 134
/mod/lti/locallib.php
->
line 453
/mod/lti/locallib.php
->
line 3374
/mod/lti/locallib.php
->
line 3375
/mod/lti/locallib.php
->
line 3376
/mod/lti/locallib.php
->
line 3382
/mod/lti/locallib.php
->
line 3383
/mod/lti/locallib.php
->
line 3386
/mod/lti/locallib.php
->
line 3387
/mod/lti/locallib.php
->
line 3388
/mod/lti/locallib.php
->
line 3389
/mod/lti/locallib.php
->
line 3391
/mod/lti/locallib.php
->
line 3392
/mod/lti/locallib.php
->
line 3432
/mod/lti/locallib.php
->
line 3434
/mod/lti/locallib.php
->
line 3435
/mod/lti/locallib.php
->
line 3438
/mod/lti/locallib.php
->
line 3439
/mod/lti/locallib.php
->
line 3440
/mod/lti/locallib.php
->
line 3441
/mod/lti/locallib.php
->
line 3443
/mod/lti/locallib.php
->
line 3447
/mod/lti/locallib.php
->
line 3451
/mod/lti/locallib.php
->
line 3452
/mod/lti/locallib.php
->
line 3455
/lib/classes/string_manager_standard.php
->
line 472
/lib/classes/string_manager_standard.php
->
line 490
/backup/util/helper/restore_log_rule.class.php
->
line 200
/backup/util/helper/restore_log_rule.class.php
->
line 201
/backup/util/plan/restore_structure_step.class.php
->
line 211
/backup/util/plan/restore_structure_step.class.php
->
line 212
/backup/util/plan/restore_structure_step.class.php
->
line 212
/backup/util/helper/restore_decode_content.class.php
->
line 45
/backup/util/helper/restore_decode_content.class.php
->
line 50
/backup/util/helper/restore_decode_content.class.php
->
line 55
/backup/util/helper/restore_decode_content.class.php
->
line 55
/backup/util/helper/restore_decode_content.class.php
->
line 55
/backup/util/helper/restore_decode_content.class.php
->
line 102
/backup/moodle2/restore_stepslib.php
->
line 435
/backup/moodle2/restore_stepslib.php
->
line 441
/backup/moodle2/restore_stepslib.php
->
line 443
/backup/moodle2/restore_stepslib.php
->
line 447
/backup/moodle2/restore_stepslib.php
->
line 448
/backup/moodle2/restore_stepslib.php
->
line 2547
/backup/moodle2/restore_stepslib.php
->
line 2549
/backup/moodle2/restore_stepslib.php
->
line 2550
/backup/moodle2/restore_stepslib.php
->
line 2553
/backup/moodle2/restore_stepslib.php
->
line 4934
/backup/moodle2/restore_stepslib.php
->
line 4939
/backup/moodle2/restore_stepslib.php
->
line 4942
/backup/moodle2/restore_stepslib.php
->
line 4950
/backup/moodle2/restore_stepslib.php
->
line 4951
/backup/moodle2/restore_stepslib.php
->
line 4953
/backup/moodle2/restore_stepslib.php
->
line 4959
/backup/moodle2/restore_stepslib.php
->
line 5507
/backup/moodle2/restore_stepslib.php
->
line 5509
/mod/workshop/form/numerrors/backup/moodle1/lib.php
->
line 61
/mod/workshop/form/numerrors/backup/moodle1/lib.php
->
line 62
/mod/workshop/form/numerrors/backup/moodle1/lib.php
->
line 63
/mod/workshop/form/numerrors/backup/moodle1/lib.php
->
line 65
/mod/workshop/form/numerrors/backup/moodle1/lib.php
->
line 67
/mod/workshop/form/numerrors/backup/moodle1/lib.php
->
line 69
/mod/workshop/form/numerrors/backup/moodle1/lib.php
->
line 91
/mod/workshop/form/numerrors/backup/moodle1/lib.php
->
line 92
/admin/tool/usertours/db/install.php
->
line 47
/admin/tool/usertours/db/install.php
->
line 57
/admin/tool/usertours/db/install.php
->
line 63
/admin/tool/usertours/db/install.php
->
line 67
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 221
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 223
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 224
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 225
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 226
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 227
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 228
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 229
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 230
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 231
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 232
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 233
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 234
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 235
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 236
/badges/classes/backpack_api.php
->
line 113
/badges/classes/backpack_api.php
->
line 114
/badges/classes/backpack_api.php
->
line 125
/badges/classes/backpack_api.php
->
line 136
/badges/classes/backpack_api.php
->
line 151
/badges/classes/backpack_api.php
->
line 166
/badges/classes/backpack_api.php
->
line 177
/badges/classes/backpack_api.php
->
line 183
/badges/classes/backpack_api.php
->
line 184
/badges/classes/backpack_api.php
->
line 195
/badges/classes/backpack_api.php
->
line 206
/badges/classes/backpack_api.php
->
line 217
/badges/classes/backpack_api.php
->
line 228
/badges/classes/backpack_api.php
->
line 239
/badges/classes/backpack_api.php
->
line 247
/badges/classes/backpack_api.php
->
line 248
/badges/classes/backpack_api.php
->
line 259
/badges/classes/backpack_api.php
->
line 270
/badges/classes/backpack_api.php
->
line 281
/badges/classes/backpack_api.php
->
line 287
/badges/classes/backpack_api.php
->
line 288
/badges/classes/backpack_api.php
->
line 299
/badges/classes/backpack_api.php
->
line 332
/badges/classes/backpack_api.php
->
line 333
/badges/classes/backpack_api.php
->
line 334
/lib/tests/client_test.php
->
line 86
/lib/tests/client_test.php
->
line 122
/cache/classes/config.php
->
line 260
/cache/classes/config.php
->
line 261
/cache/classes/config.php
->
line 261
/cache/classes/config.php
->
line 261
/cache/classes/config.php
->
line 266
/cache/classes/config.php
->
line 271
/cache/classes/config.php
->
line 271
/cache/classes/config.php
->
line 272
/cache/classes/config.php
->
line 272
/cache/classes/config.php
->
line 276
/cache/classes/config.php
->
line 277
/cache/classes/config.php
->
line 279
/cache/classes/config.php
->
line 283
/cache/classes/config.php
->
line 284
/cache/classes/config.php
->
line 284
/cache/classes/config.php
->
line 284
/cache/classes/config.php
->
line 288
/cache/classes/config.php
->
line 292
/cache/classes/config.php
->
line 296
/cache/classes/config.php
->
line 297
/cache/classes/config.php
->
line 299
/cache/classes/config.php
->
line 501
/cache/classes/config.php
->
line 502
/cache/classes/config.php
->
line 505
/cache/classes/config.php
->
line 521
/cache/classes/config.php
->
line 522
/cache/classes/config.php
->
line 522
/cache/classes/config.php
->
line 523
/cache/classes/config.php
->
line 525
/cache/tests/config_writer_test.php
->
line 249
/cache/tests/config_writer_test.php
->
line 250
/cache/tests/config_writer_test.php
->
line 250
/question/type/multichoice/question.php
->
line 109
/question/type/multichoice/question.php
->
line 114
/blocks/html/backup/moodle2/restore_html_block_task.class.php
->
line 80
/backup/util/ui/restore_ui_stage.class.php
->
line 1007
/backup/util/ui/restore_ui_stage.class.php
->
line 1008
/backup/util/ui/restore_ui_stage.class.php
->
line 1008
/blocks/activity_results/backup/moodle2/restore_activity_results_block_task.class.php
->
line 79
/blocks/activity_results/backup/moodle2/restore_activity_results_block_task.class.php
->
line 83
/mod/workshop/form/numerrors/classes/privacy/provider.php
->
line 107
/mod/workshop/form/numerrors/classes/privacy/provider.php
->
line 108
/mod/workshop/form/numerrors/classes/privacy/provider.php
->
line 108
/mod/workshop/form/numerrors/classes/privacy/provider.php
->
line 110
/mod/workshop/form/numerrors/classes/privacy/provider.php
->
line 111
/cache/classes/output/renderer.php
->
line 243
/cache/classes/output/renderer.php
->
line 245
/cache/classes/output/renderer.php
->
line 260
/mod/assign/externallib.php
->
line 1286
/mod/assign/externallib.php
->
line 1287
/mod/assign/externallib.php
->
line 1288
/mod/assign/externallib.php
->
line 1299
/admin/tool/usertours/classes/target.php
->
line 55
/admin/tool/usertours/classes/target.php
->
line 68
/admin/tool/usertours/classes/target.php
->
line 79
/admin/tool/usertours/classes/target.php
->
line 83
/admin/tool/usertours/classes/target.php
->
line 94
/admin/tool/usertours/classes/target.php
->
line 126
/cache/locallib.php
->
line 379
/cache/locallib.php
->
line 380
/cache/locallib.php
->
line 384
/cache/locallib.php
->
line 385
/cache/locallib.php
->
line 585
/cache/locallib.php
->
line 586
/cache/locallib.php
->
line 623
/cache/locallib.php
->
line 624
/mod/lti/tests/locallib_test.php
->
line 630
/mod/lti/tests/locallib_test.php
->
line 637
/mod/lti/tests/locallib_test.php
->
line 644
/mod/lti/tests/locallib_test.php
->
line 1030
/badges/classes/backpack_api2p1.php
->
line 140
/badges/classes/backpack_api2p1.php
->
line 141
/badges/classes/backpack_api2p1.php
->
line 151
/badges/classes/backpack_api2p1.php
->
line 161
/badges/classes/backpack_api2p1.php
->
line 200
/badges/classes/backpack_api2p1.php
->
line 201
/badges/classes/backpack_api2p1.php
->
line 202
/enrol/lti/lib.php
->
line 183
/enrol/lti/lib.php
->
line 185
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/PasswordHasher.php
->
line 22
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/PasswordHasher.php
->
line 35
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/PasswordHasher.php
->
line 36
/lib/tests/grouplib_test.php
->
line 691
/lib/tests/grouplib_test.php
->
line 692
/lib/tests/grouplib_test.php
->
line 694
/lib/tests/grouplib_test.php
->
line 695
/lib/tests/grouplib_test.php
->
line 697
/lib/tests/grouplib_test.php
->
line 701
/lib/classes/oauth2/service/clever.php
->
line 74
/lib/classes/oauth2/service/clever.php
->
line 80
/cache/classes/administration_helper.php
->
line 105
/cache/classes/administration_helper.php
->
line 106
/cache/classes/administration_helper.php
->
line 109
/cache/classes/administration_helper.php
->
line 240
/cache/classes/administration_helper.php
->
line 241
/cache/classes/administration_helper.php
->
line 246
/cache/classes/administration_helper.php
->
line 247
/cache/classes/administration_helper.php
->
line 247
/cache/classes/administration_helper.php
->
line 249
/cache/classes/administration_helper.php
->
line 249
/cache/classes/administration_helper.php
->
line 251
/cache/classes/administration_helper.php
->
line 252
/cache/classes/administration_helper.php
->
line 252
/mod/assign/tests/externallib_test.php
->
line 790
/mod/assign/tests/externallib_test.php
->
line 791
/mod/assign/tests/externallib_test.php
->
line 792
/mod/assign/tests/externallib_test.php
->
line 794
/mod/assign/tests/externallib_test.php
->
line 808
/mod/assign/tests/externallib_test.php
->
line 809
/question/type/match/question.php
->
line 132
/question/type/match/question.php
->
line 136
/question/type/match/question.php
->
line 141
/question/type/match/question.php
->
line 145
/enrol/database/lib.php
->
line 356
/enrol/database/lib.php
->
line 363
/enrol/database/lib.php
->
line 376
/enrol/database/lib.php
->
line 377
/enrol/database/lib.php
->
line 377
/enrol/database/lib.php
->
line 378
/enrol/database/lib.php
->
line 378
/enrol/database/lib.php
->
line 379
/enrol/database/lib.php
->
line 383
/enrol/database/lib.php
->
line 404
/enrol/database/lib.php
->
line 407
/enrol/database/lib.php
->
line 408
/enrol/database/lib.php
->
line 425
/enrol/database/lib.php
->
line 428
/enrol/database/lib.php
->
line 433
/enrol/database/lib.php
->
line 434
/enrol/database/lib.php
->
line 486
/enrol/database/lib.php
->
line 498
/enrol/database/lib.php
->
line 508
/enrol/database/lib.php
->
line 511
/enrol/database/lib.php
->
line 512
/enrol/database/lib.php
->
line 513
/enrol/database/lib.php
->
line 515
/enrol/database/lib.php
->
line 515
/enrol/database/lib.php
->
line 518
/enrol/database/lib.php
->
line 521
/enrol/database/lib.php
->
line 525
/enrol/database/lib.php
->
line 541
/grade/tests/component_gradeitems_test.php
->
line 66
/grade/tests/component_gradeitems_test.php
->
line 67
/grade/tests/component_gradeitems_test.php
->
line 71
/mod/assign/feedback/editpdf/fpdi/PdfParser/PdfParser.php
->
line 364
/mod/assign/feedback/editpdf/fpdi/PdfParser/PdfParser.php
->
line 375
/lib/classes/oauth2/service/microsoft.php
->
line 77
/lib/classes/oauth2/service/microsoft.php
->
line 86
/cache/classes/local/administration_display_helper.php
->
line 572
/cache/classes/local/administration_display_helper.php
->
line 573
/cache/classes/local/administration_display_helper.php
->
line 574
/lib/horde/framework/Horde/Imap/Client/Base.php
->
line 3686
/lib/horde/framework/Horde/Imap/Client/Base.php
->
line 3745
/lib/horde/framework/Horde/Imap/Client/Base.php
->
line 3748
/lib/horde/framework/Horde/Imap/Client/Base.php
->
line 3753
/lib/classes/oauth2/service/nextcloud.php
->
line 85
/lib/classes/oauth2/service/nextcloud.php
->
line 89
/lib/classes/oauth2/service/facebook.php
->
line 90
/lib/classes/oauth2/service/facebook.php
->
line 97
/backup/util/ui/renderer.php
->
line 545
/backup/util/ui/renderer.php
->
line 546
/backup/util/ui/renderer.php
->
line 548
/backup/util/ui/renderer.php
->
line 549
/backup/util/ui/renderer.php
->
line 549
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 101
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 102
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 104
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 104
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 105
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 108
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 129
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 131
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 131
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 132
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 135
/backup/util/dbops/tests/restore_dbops_test.php
->
line 51
/backup/util/dbops/tests/restore_dbops_test.php
->
line 52
/backup/util/dbops/tests/restore_dbops_test.php
->
line 53
/backup/util/dbops/tests/restore_dbops_test.php
->
line 54
/backup/util/dbops/tests/restore_dbops_test.php
->
line 55
/backup/util/dbops/tests/restore_dbops_test.php
->
line 56
/backup/util/dbops/tests/restore_dbops_test.php
->
line 62
/backup/util/dbops/tests/restore_dbops_test.php
->
line 62
/backup/util/dbops/tests/restore_dbops_test.php
->
line 64
/backup/util/dbops/tests/restore_dbops_test.php
->
line 64
/backup/util/dbops/tests/restore_dbops_test.php
->
line 65
/backup/util/dbops/tests/restore_dbops_test.php
->
line 66
/backup/util/dbops/tests/restore_dbops_test.php
->
line 77
/backup/util/dbops/tests/restore_dbops_test.php
->
line 77
/backup/util/dbops/tests/restore_dbops_test.php
->
line 78
/backup/util/dbops/tests/restore_dbops_test.php
->
line 79
/backup/util/dbops/tests/restore_dbops_test.php
->
line 92
/backup/util/dbops/tests/restore_dbops_test.php
->
line 92
/backup/util/dbops/tests/restore_dbops_test.php
->
line 103
/backup/util/dbops/tests/restore_dbops_test.php
->
line 103
/backup/util/dbops/tests/restore_dbops_test.php
->
line 104
/backup/util/dbops/tests/restore_dbops_test.php
->
line 104
/backup/util/dbops/tests/restore_dbops_test.php
->
line 104
/backup/util/dbops/tests/restore_dbops_test.php
->
line 106
/backup/util/dbops/tests/restore_dbops_test.php
->
line 106
/backup/util/dbops/tests/restore_dbops_test.php
->
line 107
/backup/util/dbops/tests/restore_dbops_test.php
->
line 108
/backup/util/dbops/tests/restore_dbops_test.php
->
line 109
/backup/util/dbops/tests/restore_dbops_test.php
->
line 110
/backup/util/dbops/tests/restore_dbops_test.php
->
line 111
/backup/util/dbops/tests/restore_dbops_test.php
->
line 116
/backup/util/dbops/tests/restore_dbops_test.php
->
line 116
/cache/tests/cache_test.php
->
line 103
/cache/tests/cache_test.php
->
line 105
/cache/tests/cache_test.php
->
line 109
/cache/tests/cache_test.php
->
line 109
/cache/tests/cache_test.php
->
line 114
/cache/tests/cache_test.php
->
line 169
/cache/tests/cache_test.php
->
line 171
/cache/tests/cache_test.php
->
line 173
/cache/tests/cache_test.php
->
line 174
/cache/tests/cache_test.php
->
line 176
/cache/tests/cache_test.php
->
line 180
/cache/tests/cache_test.php
->
line 190
/cache/tests/cache_test.php
->
line 192
/cache/tests/cache_test.php
->
line 193
/lib/grouplib.php
->
line 284
/lib/grouplib.php
->
line 285
/lib/grouplib.php
->
line 288
/lib/grouplib.php
->
line 289
/lib/grouplib.php
->
line 289