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)
mapping
[
Top level directory
]
Variable Cross Reference
at:
/lib/horde/framework/Horde/Imap/Client/Base.php
->
line 3671
/mod/workshop/form/numerrors/backup/moodle1/lib.php
->
line 61
/mod/lti/locallib.php
->
line 128
/mod/lti/locallib.php
->
line 131
/mod/lti/locallib.php
->
line 133
/mod/lti/locallib.php
->
line 3310
/mod/assign/feedback/editpdf/fpdi/PdfParser/PdfParser.php
->
line 364
/lib/classes/oauth2/service/nextcloud.php
->
line 85
/lib/classes/string_manager_standard.php
->
line 472
/blocks/activity_results/backup/moodle2/restore_activity_results_block_task.class.php
->
line 79
/admin/tool/usertours/db/install.php
->
line 47
/backup/moodle2/restore_stepslib.php
->
line 435
/backup/moodle2/restore_stepslib.php
->
line 447
/backup/moodle2/restore_stepslib.php
->
line 2544
/backup/moodle2/restore_stepslib.php
->
line 2546
/backup/moodle2/restore_stepslib.php
->
line 4844
/mod/assign/upgradelib.php
->
line 295
/backup/util/plan/restore_structure_step.class.php
->
line 211
/cache/classes/output/renderer.php
->
line 243
/cache/classes/output/renderer.php
->
line 245
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/PasswordHasher.php
->
line 22
/badges/classes/backpack_api2p1.php
->
line 140
/lib/classes/oauth2/service/facebook.php
->
line 90
/enrol/database/lib.php
->
line 376
/enrol/database/lib.php
->
line 377
/enrol/database/lib.php
->
line 378
/enrol/database/lib.php
->
line 511
/lib/classes/oauth2/service/microsoft.php
->
line 77
/lib/classes/oauth2/service/linkedin.php
->
line 79
/backup/util/helper/restore_decode_content.class.php
->
line 50
/mod/assign/externallib.php
->
line 1266
/grade/tests/component_gradeitems_test.php
->
line 66
/lib/classes/oauth2/discovery/openidconnect.php
->
line 91
/mod/lti/tests/locallib_test.php
->
line 617
/mod/lti/tests/locallib_test.php
->
line 630
/question/type/multichoice/question.php
->
line 109
/admin/tool/usertours/classes/target.php
->
line 55
/mod/assign/tests/externallib_test.php
->
line 788
/mod/assign/tests/externallib_test.php
->
line 806
/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
/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/match/question.php
->
line 132
/question/type/match/question.php
->
line 141
/backup/util/helper/restore_log_rule.class.php
->
line 200
/admin/tool/lpimportcsv/classes/framework_importer.php
->
line 221
Referenced 349 times:
/lib/horde/framework/Horde/Imap/Client/Base.php
->
line 3671
/lib/horde/framework/Horde/Imap/Client/Base.php
->
line 3730
/lib/horde/framework/Horde/Imap/Client/Base.php
->
line 3733
/lib/horde/framework/Horde/Imap/Client/Base.php
->
line 3738
/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
/mod/lti/locallib.php
->
line 128
/mod/lti/locallib.php
->
line 131
/mod/lti/locallib.php
->
line 131
/mod/lti/locallib.php
->
line 133
/mod/lti/locallib.php
->
line 133
/mod/lti/locallib.php
->
line 446
/mod/lti/locallib.php
->
line 3310
/mod/lti/locallib.php
->
line 3311
/mod/lti/locallib.php
->
line 3312
/mod/lti/locallib.php
->
line 3318
/mod/lti/locallib.php
->
line 3319
/mod/lti/locallib.php
->
line 3322
/mod/lti/locallib.php
->
line 3323
/mod/lti/locallib.php
->
line 3324
/mod/lti/locallib.php
->
line 3325
/mod/lti/locallib.php
->
line 3327
/mod/lti/locallib.php
->
line 3328
/mod/lti/locallib.php
->
line 3368
/mod/lti/locallib.php
->
line 3370
/mod/lti/locallib.php
->
line 3371
/mod/lti/locallib.php
->
line 3374
/mod/lti/locallib.php
->
line 3375
/mod/lti/locallib.php
->
line 3376
/mod/lti/locallib.php
->
line 3377
/mod/lti/locallib.php
->
line 3379
/mod/lti/locallib.php
->
line 3383
/mod/lti/locallib.php
->
line 3387
/mod/lti/locallib.php
->
line 3388
/mod/lti/locallib.php
->
line 3391
/lib/grouplib.php
->
line 260
/lib/grouplib.php
->
line 261
/lib/grouplib.php
->
line 264
/lib/grouplib.php
->
line 265
/lib/grouplib.php
->
line 265
/mod/assign/feedback/editpdf/fpdi/PdfParser/PdfParser.php
->
line 364
/mod/assign/feedback/editpdf/fpdi/PdfParser/PdfParser.php
->
line 375
/lib/classes/oauth2/service/nextcloud.php
->
line 85
/lib/classes/oauth2/service/nextcloud.php
->
line 89
/lib/classes/string_manager_standard.php
->
line 472
/lib/classes/string_manager_standard.php
->
line 490
/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
/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
/cache/classes/local/administration_display_helper.php
->
line 571
/cache/classes/local/administration_display_helper.php
->
line 572
/cache/classes/local/administration_display_helper.php
->
line 573
/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
/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 2544
/backup/moodle2/restore_stepslib.php
->
line 2546
/backup/moodle2/restore_stepslib.php
->
line 2547
/backup/moodle2/restore_stepslib.php
->
line 2550
/backup/moodle2/restore_stepslib.php
->
line 4844
/backup/moodle2/restore_stepslib.php
->
line 4849
/backup/moodle2/restore_stepslib.php
->
line 4852
/backup/moodle2/restore_stepslib.php
->
line 4860
/backup/moodle2/restore_stepslib.php
->
line 4861
/backup/moodle2/restore_stepslib.php
->
line 4863
/backup/moodle2/restore_stepslib.php
->
line 4869
/backup/moodle2/restore_stepslib.php
->
line 5417
/backup/moodle2/restore_stepslib.php
->
line 5419
/mod/assign/upgradelib.php
->
line 295
/mod/assign/upgradelib.php
->
line 296
/mod/assign/upgradelib.php
->
line 297
/mod/assign/upgradelib.php
->
line 298
/mod/assign/upgradelib.php
->
line 299
/mod/assign/upgradelib.php
->
line 300
/mod/assign/upgradelib.php
->
line 301
/cache/tests/config_writer_test.php
->
line 249
/cache/tests/config_writer_test.php
->
line 250
/cache/tests/config_writer_test.php
->
line 250
/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
/cache/classes/output/renderer.php
->
line 243
/cache/classes/output/renderer.php
->
line 245
/cache/classes/output/renderer.php
->
line 260
/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
/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
/lib/classes/oauth2/service/facebook.php
->
line 90
/lib/classes/oauth2/service/facebook.php
->
line 97
/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
/blocks/html/backup/moodle2/restore_html_block_task.class.php
->
line 80
/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
/lib/classes/oauth2/service/microsoft.php
->
line 77
/lib/classes/oauth2/service/microsoft.php
->
line 86
/cache/classes/config.php
->
line 261
/cache/classes/config.php
->
line 262
/cache/classes/config.php
->
line 262
/cache/classes/config.php
->
line 262
/cache/classes/config.php
->
line 267
/cache/classes/config.php
->
line 272
/cache/classes/config.php
->
line 272
/cache/classes/config.php
->
line 273
/cache/classes/config.php
->
line 273
/cache/classes/config.php
->
line 277
/cache/classes/config.php
->
line 278
/cache/classes/config.php
->
line 280
/cache/classes/config.php
->
line 284
/cache/classes/config.php
->
line 285
/cache/classes/config.php
->
line 285
/cache/classes/config.php
->
line 285
/cache/classes/config.php
->
line 289
/cache/classes/config.php
->
line 293
/cache/classes/config.php
->
line 297
/cache/classes/config.php
->
line 298
/cache/classes/config.php
->
line 300
/cache/classes/config.php
->
line 502
/cache/classes/config.php
->
line 503
/cache/classes/config.php
->
line 506
/cache/classes/config.php
->
line 522
/cache/classes/config.php
->
line 523
/cache/classes/config.php
->
line 523
/cache/classes/config.php
->
line 524
/cache/classes/config.php
->
line 526
/lib/classes/oauth2/service/linkedin.php
->
line 79
/lib/classes/oauth2/service/linkedin.php
->
line 85
/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
/lib/tests/client_test.php
->
line 86
/lib/tests/client_test.php
->
line 122
/mod/assign/externallib.php
->
line 1266
/mod/assign/externallib.php
->
line 1267
/mod/assign/externallib.php
->
line 1268
/mod/assign/externallib.php
->
line 1279
/grade/tests/component_gradeitems_test.php
->
line 66
/grade/tests/component_gradeitems_test.php
->
line 67
/grade/tests/component_gradeitems_test.php
->
line 71
/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
/lib/classes/oauth2/discovery/openidconnect.php
->
line 91
/lib/classes/oauth2/discovery/openidconnect.php
->
line 103
/mod/lti/tests/locallib_test.php
->
line 617
/mod/lti/tests/locallib_test.php
->
line 623
/mod/lti/tests/locallib_test.php
->
line 630
/mod/lti/tests/locallib_test.php
->
line 1010
/question/type/multichoice/question.php
->
line 109
/question/type/multichoice/question.php
->
line 114
/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
/mod/assign/tests/externallib_test.php
->
line 788
/mod/assign/tests/externallib_test.php
->
line 789
/mod/assign/tests/externallib_test.php
->
line 790
/mod/assign/tests/externallib_test.php
->
line 792
/mod/assign/tests/externallib_test.php
->
line 806
/mod/assign/tests/externallib_test.php
->
line 807
/enrol/lti/lib.php
->
line 183
/enrol/lti/lib.php
->
line 185
/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
/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
/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
/backup/util/helper/restore_log_rule.class.php
->
line 200
/backup/util/helper/restore_log_rule.class.php
->
line 201
/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
/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
/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
/lib/tests/grouplib_test.php
->
line 689
/lib/tests/grouplib_test.php
->
line 690
/lib/tests/grouplib_test.php
->
line 692
/lib/tests/grouplib_test.php
->
line 693
/lib/tests/grouplib_test.php
->
line 695
/lib/tests/grouplib_test.php
->
line 699
/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