Quick Navigation
×
Moodle 3.11 XRef and Diffs
Home
Quick Navigation
Moodle 3.11
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 3.11 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 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
Moodle 3.11 Database Schema (by Marcus Green)
instance_by_id
[
Top level directory
]
Function and Method Cross Reference
at:
/lib/accesslib.php
->
line 5278
Referenced 440 times:
/search/engine/simpledb/classes/privacy/provider.php
->
line 143
/calendar/classes/privacy/provider.php
->
line 386
/calendar/classes/privacy/provider.php
->
line 434
/mod/forum/lib.php
->
line 2150
/repository/contentbank/classes/browser/contentbank_browser.php
->
line 109
/mod/glossary/locallib.php
->
line 678
/mod/glossary/locallib.php
->
line 687
/admin/tool/cohortroles/classes/privacy/provider.php
->
line 206
/backup/restorefile.php
->
line 46
/backup/moodle2/backup_custom_fields.php
->
line 264
/search/classes/document.php
->
line 621
/analytics/tests/manager_test.php
->
line 88
/lib/classes/event/base.php
->
line 221
/lib/classes/event/base.php
->
line 665
/admin/tool/log/store/legacy/classes/privacy/provider.php
->
line 127
/mod/forum/classes/observer.php
->
line 66
/enrol/cohort/lib.php
->
line 69
/enrol/cohort/lib.php
->
line 342
/grade/classes/privacy/provider.php
->
line 436
/grade/classes/privacy/provider.php
->
line 455
/contentbank/classes/contenttype.php
->
line 169
/admin/roles/classes/existing_role_holders.php
->
line 142
/grade/classes/grades/grader/gradingpanel/point/external/store.php
->
line 132
/lib/tests/questionlib_test.php
->
line 472
/lib/tests/questionlib_test.php
->
line 500
/lib/tests/questionlib_test.php
->
line 610
/lib/tests/questionlib_test.php
->
line 719
/lib/tests/questionlib_test.php
->
line 771
/lib/tests/questionlib_test.php
->
line 908
/lib/tests/questionlib_test.php
->
line 940
/lib/tests/questionlib_test.php
->
line 980
/lib/tests/questionlib_test.php
->
line 1012
/lib/tests/questionlib_test.php
->
line 1052
/lib/tests/questionlib_test.php
->
line 1093
/lib/tests/questionlib_test.php
->
line 1140
/lib/tests/questionlib_test.php
->
line 1174
/lib/tests/questionlib_test.php
->
line 1215
/lib/tests/questionlib_test.php
->
line 1254
/lib/tests/questionlib_test.php
->
line 1299
/lib/tests/questionlib_test.php
->
line 1329
/lib/tests/questionlib_test.php
->
line 1366
/lib/tests/questionlib_test.php
->
line 1418
/lib/tests/questionlib_test.php
->
line 1425
/mod/forum/locallib.php
->
line 623
/mod/forum/locallib.php
->
line 632
/grade/grading/manage.php
->
line 59
/contentbank/contenttype/h5p/classes/content.php
->
line 65
/enrol/lti/classes/privacy/provider.php
->
line 145
/files/renderer.php
->
line 591
/mod/forum/classes/local/vaults/preprocessors/extract_context.php
->
line 49
/blocks/html/classes/search/content.php
->
line 84
/question/format/gift/tests/giftformat_test.php
->
line 1374
/privacy/tests/contextlist_base_test.php
->
line 145
/mod/wiki/locallib.php
->
line 1783
/mod/wiki/locallib.php
->
line 1792
/question/classes/bank/view.php
->
line 581
/question/classes/bank/view.php
->
line 815
/question/classes/bank/view.php
->
line 991
/blocks/html/block_html.php
->
line 166
/blocks/edit_form.php
->
line 100
/lib/accesslib.php
->
line 1075
/lib/accesslib.php
->
line 1255
/lib/accesslib.php
->
line 1384
/lib/accesslib.php
->
line 1458
/lib/accesslib.php
->
line 1574
/lib/accesslib.php
->
line 1706
/lib/accesslib.php
->
line 1728
/lib/accesslib.php
->
line 1732
/lib/accesslib.php
->
line 4317
/lib/accesslib.php
->
line 5292
/lib/accesslib.php
->
line 5300
/lib/accesslib.php
->
line 5651
/lib/accesslib.php
->
line 5747
/lib/accesslib.php
->
line 7530
/grade/classes/grades/grader/gradingpanel/point/external/fetch.php
->
line 115
/question/preview.php
->
line 63
/question/question.php
->
line 164
/question/question.php
->
line 268
/question/question.php
->
line 282
/mod/forum/classes/search/post.php
->
line 245
/admin/tool/recyclebin/index.php
->
line 31
/privacy/classes/local/request/contextlist_base.php
->
line 91
/privacy/classes/local/request/contextlist_base.php
->
line 129
/admin/roles/classes/assign_user_selector_base.php
->
line 45
/enrol/meta/classes/observer.php
->
line 120
/enrol/meta/classes/observer.php
->
line 150
/blocks/html/tests/search_content_test.php
->
line 115
/contentbank/classes/external/delete_content.php
->
line 80
/contentbank/classes/content.php
->
line 106
/contentbank/classes/content.php
->
line 396
/cohort/upload_form.php
->
line 114
/cohort/upload_form.php
->
line 240
/lib/external/externallib.php
->
line 411
/lib/external/externallib.php
->
line 556
/question/lib.php
->
line 57
/question/lib.php
->
line 66
/lib/classes/plugininfo/contenttype.php
->
line 194
/contentbank/classes/form/upload_files.php
->
line 100
/admin/tool/dataprivacy/classes/data_registry.php
->
line 224
/admin/tool/dataprivacy/classes/data_registry.php
->
line 233
/question/format/xml/format.php
->
line 1545
/grade/grading/lib.php
->
line 238
/admin/roles/check.php
->
line 143
/tag/tests/event/events_test.php
->
line 132
/mod/wiki/classes/search/collaborative_page.php
->
line 187
/tag/index.php
->
line 72
/competency/classes/template.php
->
line 145
/competency/classes/template.php
->
line 155
/admin/tool/lp/edittemplate.php
->
line 38
/lib/classes/external/record_userfeedback_action.php
->
line 67
/lib/filelib.php
->
line 1155
/lib/filelib.php
->
line 1275
/lib/filelib.php
->
line 4882
/cohort/edit_form.php
->
line 116
/admin/tool/capability/index.php
->
line 140
/contentbank/edit.php
->
line 34
/grade/grading/form/rubric/classes/grades/grader/gradingpanel/external/fetch.php
->
line 111
/mod/book/classes/search/chapter.php
->
line 154
/mod/book/classes/search/chapter.php
->
line 166
/lib/editor/atto/classes/privacy/provider.php
->
line 157
/mod/book/locallib.php
->
line 467
/mod/book/locallib.php
->
line 476
/customfield/classes/data_controller.php
->
line 316
/lib/editor/tinymce/plugins/managefiles/manage.php
->
line 37
/grade/grading/form/guide/classes/grades/grader/gradingpanel/external/fetch.php
->
line 118
/repository/local/lib.php
->
line 66
/repository/local/lib.php
->
line 185
/repository/local/lib.php
->
line 325
/blocks/activity_results/block_activity_results.php
->
line 91
/analytics/classes/manager.php
->
line 578
/grade/classes/grades/grader/gradingpanel/scale/external/fetch.php
->
line 115
/cohort/lib.php
->
line 77
/cohort/lib.php
->
line 105
/cohort/lib.php
->
line 130
/cohort/lib.php
->
line 184
/cohort/lib.php
->
line 205
/cohort/lib.php
->
line 337
/cohort/lib.php
->
line 364
/cohort/lib.php
->
line 554
/cohort/lib.php
->
line 557
/blocks/tags/edit_form.php
->
line 57
/backup/externallib.php
->
line 228
/repository/nextcloud/lib.php
->
line 477
/repository/filepicker.php
->
line 92
/admin/tool/uploadcourse/classes/step2_form.php
->
line 98
/course/lib.php
->
line 3712
/course/lib.php
->
line 3721
/grade/grading/form/rubric/classes/grades/grader/gradingpanel/external/store.php
->
line 128
/cohort/index.php
->
line 37
/cohort/index.php
->
line 129
/lib/deprecatedlib.php
->
line 1232
/lib/weblib.php
->
line 1270
/lib/weblib.php
->
line 1474
/h5p/classes/player.php
->
line 138
/message/classes/privacy/provider.php
->
line 993
/privacy/classes/local/request/moodle_content_writer.php
->
line 494
/admin/tool/analytics/classes/output/insights_report.php
->
line 58
/admin/tool/analytics/classes/output/insights_report.php
->
line 150
/question/category.php
->
line 104
/enrol/lti/classes/task/sync_grades.php
->
line 103
/lib/classes/event/contentbank_content_deleted.php
->
line 63
/backup/moodle2/restore_stepslib.php
->
line 1844
/backup/moodle2/restore_stepslib.php
->
line 2176
/backup/moodle2/restore_stepslib.php
->
line 4264
/backup/moodle2/restore_stepslib.php
->
line 4552
/backup/moodle2/restore_stepslib.php
->
line 5031
/backup/moodle2/restore_stepslib.php
->
line 6110
/question/type/calculated/datasetdefinitions_form.php
->
line 68
/admin/tool/capability/renderer.php
->
line 133
/cohort/upload.php
->
line 35
/course/classes/category.php
->
line 1654
/blog/lib.php
->
line 1096
/lib/classes/event/contentbank_content_viewed.php
->
line 63
/admin/roles/classes/privacy/provider.php
->
line 256
/admin/roles/classes/privacy/provider.php
->
line 303
/admin/roles/classes/privacy/provider.php
->
line 344
/group/autogroup_form.php
->
line 96
/mod/scorm/classes/privacy/provider.php
->
line 163
/mod/scorm/classes/privacy/provider.php
->
line 200
/mod/scorm/classes/privacy/provider.php
->
line 250
/mod/feedback/classes/privacy/provider.php
->
line 179
/mod/feedback/classes/privacy/provider.php
->
line 203
/mod/feedback/classes/privacy/provider.php
->
line 214
/webservice/lib.php
->
line 1200
/report/log/classes/table_log.php
->
line 233
/lib/messagelib.php
->
line 178
/admin/tool/dataprivacy/classes/api.php
->
line 130
/admin/tool/usertours/classes/external/tour.php
->
line 61
/admin/tool/usertours/classes/external/tour.php
->
line 126
/admin/tool/usertours/classes/external/tour.php
->
line 196
/admin/tool/usertours/classes/external/tour.php
->
line 258
/lib/tests/accesslib_test.php
->
line 1148
/lib/tests/accesslib_test.php
->
line 1173
/lib/tests/accesslib_test.php
->
line 1284
/lib/tests/accesslib_test.php
->
line 1348
/lib/tests/accesslib_test.php
->
line 2839
/lib/tests/accesslib_test.php
->
line 2841
/lib/tests/accesslib_test.php
->
line 2843
/lib/tests/accesslib_test.php
->
line 3294
/lib/tests/accesslib_test.php
->
line 3552
/question/tests/random_question_loader_test.php
->
line 593
/blog/edit_form.php
->
line 85
/blog/edit_form.php
->
line 109
/blog/edit_form.php
->
line 159
/blog/edit_form.php
->
line 169
/admin/user/user_bulk_cohortadd.php
->
line 49
/enrol/category/classes/observer.php
->
line 53
/enrol/category/classes/observer.php
->
line 111
/admin/tool/cohortroles/classes/output/cohort_role_assignments_table.php
->
line 100
/lib/questionlib.php
->
line 266
/lib/questionlib.php
->
line 593
/lib/questionlib.php
->
line 693
/lib/questionlib.php
->
line 706
/lib/questionlib.php
->
line 745
/lib/questionlib.php
->
line 932
/lib/questionlib.php
->
line 1030
/lib/questionlib.php
->
line 1419
/lib/questionlib.php
->
line 1485
/lib/questionlib.php
->
line 1711
/lib/questionlib.php
->
line 2173
/lib/questionlib.php
->
line 2301
/contentbank/index.php
->
line 31
/contentbank/classes/privacy/provider.php
->
line 197
/contentbank/classes/privacy/provider.php
->
line 213
/contentbank/classes/privacy/provider.php
->
line 217
/analytics/classes/model.php
->
line 2009
/lib/testing/generator/repository_generator.php
->
line 144
/analytics/classes/prediction.php
->
line 142
/search/classes/base_block.php
->
line 398
/h5p/classes/api.php
->
line 256
/question/engine/questionusage.php
->
line 942
/blog/edit.php
->
line 179
/lib/classes/event/context_locked.php
->
line 66
/blocks/classes/external/fetch_addable_blocks.php
->
line 84
/question/format.php
->
line 143
/question/format.php
->
line 598
/question/format.php
->
line 601
/tag/classes/collection.php
->
line 368
/enrol/self/lib.php
->
line 289
/enrol/self/lib.php
->
line 807
/mod/wiki/edit_form.php
->
line 62
/admin/tool/lp/competencies.php
->
line 39
/cohort/assign.php
->
line 34
/mod/quiz/locallib.php
->
line 2331
/admin/tool/analytics/classes/output/helper.php
->
line 124
/course/downloadcontent.php
->
line 33
/mod/h5pactivity/classes/privacy/provider.php
->
line 162
/mod/h5pactivity/classes/privacy/provider.php
->
line 212
/question/tests/generator/lib.php
->
line 106
/question/category_class.php
->
line 317
/question/category_class.php
->
line 465
/question/category_class.php
->
line 540
/question/category_class.php
->
line 546
/question/tests/event/events_test.php
->
line 452
/mod/data/locallib.php
->
line 834
/mod/data/locallib.php
->
line 843
/contentbank/contenttype/h5p/classes/form/editor.php
->
line 154
/search/classes/manager.php
->
line 1650
/search/classes/manager.php
->
line 1704
/mod/glossary/lib.php
->
line 690
/contentbank/classes/external/rename_content.php
->
line 94
/admin/tool/log/classes/local/privacy/moodle_database_export_and_delete.php
->
line 74
/user/index.php
->
line 55
/h5p/classes/helper.php
->
line 164
/h5p/classes/helper.php
->
line 187
/mod/h5pactivity/classes/xapi/handler.php
->
line 90
/payment/classes/account.php
->
line 82
/lib/editor/atto/plugins/managefiles/manage.php
->
line 40
/question/editlib.php
->
line 137
/question/editlib.php
->
line 589
/blocks/html/lib.php
->
line 74
/question/format/gift/format.php
->
line 867
/lib/classes/event/contentbank_content_uploaded.php
->
line 63
/enrol/lti/classes/manage_table.php
->
line 104
/cohort/edit.php
->
line 43
/cohort/edit.php
->
line 45
/cohort/edit.php
->
line 145
/cohort/edit.php
->
line 160
/mod/data/lib.php
->
line 1621
/admin/tool/lp/editcompetencyframework.php
->
line 38
/enrol/classes/privacy/provider.php
->
line 156
/question/addquestion.php
->
line 63
/question/tests/externallib_test.php
->
line 118
/question/tests/externallib_test.php
->
line 138
/question/tests/externallib_test.php
->
line 158
/question/tests/externallib_test.php
->
line 184
/question/tests/externallib_test.php
->
line 220
/question/tests/externallib_test.php
->
line 352
/question/tests/externallib_test.php
->
line 795
/question/tests/externallib_test.php
->
line 837
/blog/classes/privacy/provider.php
->
line 299
/blog/classes/privacy/provider.php
->
line 389
/blog/classes/privacy/provider.php
->
line 397
/cohort/classes/output/cohortname.php
->
line 43
/cohort/classes/output/cohortname.php
->
line 63
/admin/tool/capability/locallib.php
->
line 81
/lib/externallib.php
->
line 534
/lib/externallib.php
->
line 771
/lib/externallib.php
->
line 952
/lib/externallib.php
->
line 1033
/question/engine/tests/helpers.php
->
line 119
/backup/backupfilesedit.php
->
line 39
/analytics/classes/privacy/provider.php
->
line 223
/analytics/classes/privacy/provider.php
->
line 250
/analytics/classes/privacy/provider.php
->
line 277
/lib/classes/grading_external.php
->
line 334
/lib/classes/grading_external.php
->
line 474
/competency/classes/evidence.php
->
line 119
/competency/classes/evidence.php
->
line 193
/lib/enrollib.php
->
line 750
/question/classes/external.php
->
line 154
/question/classes/external.php
->
line 170
/question/classes/external.php
->
line 279
/question/classes/external.php
->
line 283
/repository/contentbank/classes/contentbank_search.php
->
line 50
/lib/adminlib.php
->
line 9545
/question/tests/behat/behat_core_question.php
->
line 114
/admin/tool/lp/competencyframeworks.php
->
line 29
/contentbank/classes/external/set_content_visibility.php
->
line 76
/lib/ajax/blocks.php
->
line 54
/search/classes/base_mod.php
->
line 245
/enrol/lti/classes/helper.php
->
line 406
/enrol/lti/classes/helper.php
->
line 425
/repository/contentbank/lib.php
->
line 57
/repository/contentbank/lib.php
->
line 149
/question/type/random/questiontype.php
->
line 140
/repository/draftfiles_ajax.php
->
line 305
/repository/manage_instances.php
->
line 68
/repository/manage_instances.php
->
line 182
/cohort/externallib.php
->
line 109
/cohort/externallib.php
->
line 196
/cohort/externallib.php
->
line 255
/cohort/externallib.php
->
line 391
/cohort/externallib.php
->
line 501
/cohort/externallib.php
->
line 519
/cohort/externallib.php
->
line 653
/cohort/externallib.php
->
line 736
/cohort/externallib.php
->
line 791
/draftfile.php
->
line 64
/tag/classes/external.php
->
line 304
/tag/classes/external.php
->
line 417
/question/import.php
->
line 45
/lib/classes/event/contentbank_content_updated.php
->
line 63
/question/edit.php
->
line 62
/admin/repository.php
->
line 326
/admin/tool/dataprivacy/lib.php
->
line 206
/report/loglive/classes/table_log.php
->
line 191
/backup/util/ui/restore_ui_stage.class.php
->
line 466
/backup/util/ui/restore_ui_stage.class.php
->
line 529
/competency/classes/competency_framework.php
->
line 76
/competency/classes/competency_framework.php
->
line 231
/enrol/lti/classes/tool_provider.php
->
line 227
/lib/blocklib.php
->
line 1549
/lib/blocklib.php
->
line 1697
/question/tests/backup_test.php
->
line 118
/question/classes/privacy/provider.php
->
line 456
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 59
/admin/tool/lp/classes/page_helper.php
->
line 114
/admin/tool/lp/classes/page_helper.php
->
line 370
/admin/tool/lp/classes/page_helper.php
->
line 401
/repository/coursefiles/lib.php
->
line 70
/repository/coursefiles/lib.php
->
line 161
/repository/googledocs/lib.php
->
line 679
/repository/lib.php
->
line 549
/repository/lib.php
->
line 591
/repository/lib.php
->
line 756
/repository/lib.php
->
line 846
/repository/lib.php
->
line 1257
/repository/lib.php
->
line 1633
/repository/lib.php
->
line 1799
/repository/lib.php
->
line 1821
/repository/lib.php
->
line 1849
/cohort/classes/output/cohortidnumber.php
->
line 43
/cohort/classes/output/cohortidnumber.php
->
line 63
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 121
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 149
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 176
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 374
/lib/classes/event/context_unlocked.php
->
line 66
/report/questioninstances/index.php
->
line 122
/repository/onedrive/lib.php
->
line 567
/backup/util/dbops/restore_dbops.class.php
->
line 855
/mod/wiki/classes/privacy/provider.php
->
line 538
/mod/wiki/classes/privacy/provider.php
->
line 602
/competency/classes/api.php
->
line 929
/competency/classes/api.php
->
line 2319
/competency/classes/api.php
->
line 2618
/competency/classes/api.php
->
line 4298
/customfield/classes/privacy/provider.php
->
line 480
/grade/classes/grades/grader/gradingpanel/scale/external/store.php
->
line 129
/question/type/questiontypebase.php
->
line 1329
/lib/form/cohort.php
->
line 138
/comment/lib.php
->
line 136
/contentbank/view.php
->
line 37
/blog/locallib.php
->
line 93
/blog/locallib.php
->
line 157
/blog/locallib.php
->
line 388
/blog/locallib.php
->
line 416
/blog/locallib.php
->
line 962
/mod/forum/classes/privacy/provider.php
->
line 607
/mod/forum/classes/privacy/provider.php
->
line 684
/mod/forum/classes/privacy/provider.php
->
line 761
/question/type/calculated/datasetitems_form.php
->
line 88
/comment/locallib.php
->
line 120
/cohort/classes/privacy/provider.php
->
line 159
/grade/grading/form/guide/classes/grades/grader/gradingpanel/external/store.php
->
line 133
/admin/tool/lp/templatecompetencies.php
->
line 34
/competency/classes/privacy/provider.php
->
line 845
/competency/classes/privacy/provider.php
->
line 846
/competency/classes/privacy/provider.php
->
line 847
/repository/recent/lib.php
->
line 151
/search/index.php
->
line 72
/lib/classes/check/access/riskbackup_result.php
->
line 151
/lib/classes/check/access/riskbackup_result.php
->
line 182
/mod/glossary/classes/search/entry.php
->
line 162
/mod/glossary/classes/search/entry.php
->
line 181
/admin/tool/dataprivacy/classes/external.php
->
line 1114
/admin/tool/dataprivacy/classes/external.php
->
line 1177
/admin/tool/dataprivacy/classes/external.php
->
line 1258
/message/classes/api.php
->
line 706
/message/classes/api.php
->
line 816
/message/classes/api.php
->
line 890
/message/classes/api.php
->
line 931
/message/classes/api.php
->
line 961
/message/classes/api.php
->
line 1711
/message/classes/api.php
->
line 3014
/message/classes/api.php
->
line 3055
/admin/tool/lp/learningplans.php
->
line 29
/admin/roles/usersroles.php
->
line 107
/admin/roles/usersroles.php
->
line 163
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 276
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 378
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 413
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 485
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 508
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 529
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 680
/lib/classes/event/contentbank_content_created.php
->
line 63
/question/type/edit_question_form.php
->
line 104
/question/type/edit_question_form.php
->
line 111