Quick Navigation
×
Moodle 3.10 XRef and Diffs
Home
Quick Navigation
Moodle 3.10
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 3.10 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.10.x will end 8 November 2021 (12 months).
Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
Moodle 3.10 Database Schema (by Marcus Green)
instance_by_id
[
Top level directory
]
Function and Method Cross Reference
at:
/lib/accesslib.php
->
line 5274
Referenced 434 times:
/admin/roles/usersroles.php
->
line 107
/admin/roles/usersroles.php
->
line 163
/grade/classes/grades/grader/gradingpanel/point/external/fetch.php
->
line 115
/admin/tool/analytics/classes/output/helper.php
->
line 124
/admin/tool/dataprivacy/classes/api.php
->
line 130
/lib/classes/grading_external.php
->
line 334
/lib/classes/grading_external.php
->
line 474
/mod/forum/classes/privacy/provider.php
->
line 607
/mod/forum/classes/privacy/provider.php
->
line 684
/mod/forum/classes/privacy/provider.php
->
line 761
/cohort/assign.php
->
line 34
/lib/externallib.php
->
line 534
/lib/externallib.php
->
line 771
/lib/externallib.php
->
line 952
/lib/externallib.php
->
line 1033
/lib/external/externallib.php
->
line 411
/lib/external/externallib.php
->
line 556
/grade/classes/grades/grader/gradingpanel/scale/external/fetch.php
->
line 115
/blog/edit.php
->
line 179
/contentbank/classes/content.php
->
line 95
/grade/grading/lib.php
->
line 238
/comment/lib.php
->
line 136
/lib/classes/external/record_userfeedback_action.php
->
line 67
/search/classes/manager.php
->
line 1650
/search/classes/manager.php
->
line 1704
/h5p/classes/api.php
->
line 251
/question/format/gift/tests/giftformat_test.php
->
line 1377
/cohort/classes/privacy/provider.php
->
line 159
/lib/weblib.php
->
line 1270
/lib/weblib.php
->
line 1458
/analytics/classes/model.php
->
line 2009
/enrol/classes/privacy/provider.php
->
line 156
/question/question.php
->
line 164
/question/question.php
->
line 268
/question/question.php
->
line 278
/admin/user/user_bulk_cohortadd.php
->
line 49
/repository/draftfiles_ajax.php
->
line 305
/admin/roles/classes/assign_user_selector_base.php
->
line 45
/backup/moodle2/restore_stepslib.php
->
line 1832
/backup/moodle2/restore_stepslib.php
->
line 2132
/backup/moodle2/restore_stepslib.php
->
line 4144
/backup/moodle2/restore_stepslib.php
->
line 4420
/backup/moodle2/restore_stepslib.php
->
line 4898
/backup/moodle2/restore_stepslib.php
->
line 5975
/lib/form/cohort.php
->
line 138
/question/type/edit_question_form.php
->
line 104
/question/type/edit_question_form.php
->
line 111
/lib/classes/plugininfo/contenttype.php
->
line 194
/lib/editor/atto/plugins/managefiles/manage.php
->
line 40
/lib/editor/tinymce/plugins/managefiles/manage.php
->
line 37
/user/index.php
->
line 56
/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
/question/type/random/questiontype.php
->
line 140
/question/category_class.php
->
line 317
/question/category_class.php
->
line 467
/question/category_class.php
->
line 542
/question/category_class.php
->
line 548
/grade/classes/privacy/provider.php
->
line 436
/grade/classes/privacy/provider.php
->
line 455
/contentbank/classes/external/delete_content.php
->
line 78
/admin/tool/capability/locallib.php
->
line 81
/group/autogroup_form.php
->
line 96
/grade/grading/form/guide/classes/grades/grader/gradingpanel/external/store.php
->
line 133
/admin/tool/dataprivacy/classes/external.php
->
line 1111
/admin/tool/dataprivacy/classes/external.php
->
line 1174
/admin/tool/dataprivacy/classes/external.php
->
line 1255
/lib/classes/event/contentbank_content_updated.php
->
line 63
/grade/grading/form/rubric/classes/grades/grader/gradingpanel/external/fetch.php
->
line 111
/cohort/classes/output/cohortidnumber.php
->
line 43
/cohort/classes/output/cohortidnumber.php
->
line 63
/admin/tool/capability/index.php
->
line 140
/search/classes/document.php
->
line 621
/mod/feedback/classes/privacy/provider.php
->
line 179
/mod/feedback/classes/privacy/provider.php
->
line 203
/mod/feedback/classes/privacy/provider.php
->
line 214
/admin/roles/classes/privacy/provider.php
->
line 256
/admin/roles/classes/privacy/provider.php
->
line 303
/admin/roles/classes/privacy/provider.php
->
line 344
/admin/tool/cohortroles/classes/output/cohort_role_assignments_table.php
->
line 100
/mod/forum/classes/local/vaults/preprocessors/extract_context.php
->
line 49
/repository/nextcloud/lib.php
->
line 477
/admin/tool/lp/competencies.php
->
line 39
/repository/contentbank/classes/contentbank_search.php
->
line 50
/question/type/calculated/datasetitems_form.php
->
line 88
/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
/mod/wiki/locallib.php
->
line 1783
/mod/wiki/locallib.php
->
line 1792
/admin/tool/log/backup/moodle2/restore_tool_log_logstore_subplugin.class.php
->
line 59
/question/import.php
->
line 45
/mod/book/classes/search/chapter.php
->
line 154
/mod/book/classes/search/chapter.php
->
line 166
/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 4316
/lib/accesslib.php
->
line 5288
/lib/accesslib.php
->
line 5296
/lib/accesslib.php
->
line 5646
/lib/accesslib.php
->
line 5742
/lib/accesslib.php
->
line 7523
/enrol/lti/classes/helper.php
->
line 406
/enrol/lti/classes/helper.php
->
line 425
/privacy/tests/contextlist_base_test.php
->
line 145
/lib/adminlib.php
->
line 9466
/blog/classes/privacy/provider.php
->
line 299
/blog/classes/privacy/provider.php
->
line 389
/blog/classes/privacy/provider.php
->
line 397
/lib/classes/event/context_unlocked.php
->
line 66
/backup/util/dbops/restore_dbops.class.php
->
line 842
/blog/edit_form.php
->
line 85
/blog/edit_form.php
->
line 109
/blog/edit_form.php
->
line 159
/blog/edit_form.php
->
line 169
/enrol/lti/classes/privacy/provider.php
->
line 145
/admin/tool/lp/competencyframeworks.php
->
line 29
/mod/data/locallib.php
->
line 830
/mod/data/locallib.php
->
line 839
/calendar/classes/privacy/provider.php
->
line 386
/calendar/classes/privacy/provider.php
->
line 434
/admin/tool/dataprivacy/lib.php
->
line 203
/lib/testing/generator/repository_generator.php
->
line 144
/admin/tool/lp/learningplans.php
->
line 29
/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
/analytics/classes/manager.php
->
line 584
/question/classes/privacy/provider.php
->
line 456
/question/tests/behat/behat_core_question.php
->
line 110
/course/downloadcontent.php
->
line 33
/question/format/xml/format.php
->
line 1523
/mod/quiz/locallib.php
->
line 2259
/question/edit.php
->
line 62
/admin/tool/lp/templatecompetencies.php
->
line 34
/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
/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
/mod/forum/locallib.php
->
line 623
/mod/forum/locallib.php
->
line 632
/admin/tool/lp/edittemplate.php
->
line 38
/repository/local/lib.php
->
line 66
/repository/local/lib.php
->
line 185
/repository/local/lib.php
->
line 325
/mod/glossary/lib.php
->
line 685
/grade/classes/grades/grader/gradingpanel/point/external/store.php
->
line 132
/enrol/self/lib.php
->
line 289
/enrol/self/lib.php
->
line 807
/lib/classes/check/access/riskbackup_result.php
->
line 147
/lib/classes/check/access/riskbackup_result.php
->
line 177
/admin/roles/check.php
->
line 143
/search/classes/base_mod.php
->
line 245
/lib/classes/event/base.php
->
line 221
/lib/classes/event/base.php
->
line 665
/lib/enrollib.php
->
line 747
/mod/wiki/edit_form.php
->
line 62
/privacy/classes/local/request/contextlist_base.php
->
line 91
/privacy/classes/local/request/contextlist_base.php
->
line 129
/grade/classes/grades/grader/gradingpanel/scale/external/store.php
->
line 129
/lib/classes/event/contentbank_content_deleted.php
->
line 63
/admin/roles/classes/existing_role_holders.php
->
line 142
/question/editlib.php
->
line 137
/question/editlib.php
->
line 589
/search/classes/base_block.php
->
line 398
/cohort/index.php
->
line 37
/cohort/index.php
->
line 129
/admin/repository.php
->
line 326
/payment/classes/account.php
->
line 82
/backup/util/ui/restore_ui_stage.class.php
->
line 466
/backup/util/ui/restore_ui_stage.class.php
->
line 529
/question/engine/tests/helpers.php
->
line 119
/mod/glossary/classes/search/entry.php
->
line 162
/mod/glossary/classes/search/entry.php
->
line 181
/draftfile.php
->
line 64
/competency/classes/api.php
->
line 929
/competency/classes/api.php
->
line 2319
/competency/classes/api.php
->
line 2618
/competency/classes/api.php
->
line 4298
/mod/scorm/classes/privacy/provider.php
->
line 163
/mod/scorm/classes/privacy/provider.php
->
line 200
/mod/scorm/classes/privacy/provider.php
->
line 250
/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/type/questiontypebase.php
->
line 1290
/lib/blocklib.php
->
line 1549
/lib/blocklib.php
->
line 1697
/backup/moodle2/backup_custom_fields.php
->
line 264
/admin/tool/recyclebin/index.php
->
line 31
/repository/filepicker.php
->
line 92
/enrol/lti/classes/tool_provider.php
->
line 227
/lib/editor/atto/classes/privacy/provider.php
->
line 157
/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
/repository/recent/lib.php
->
line 151
/blocks/html/block_html.php
->
line 166
/cohort/classes/output/cohortname.php
->
line 43
/cohort/classes/output/cohortname.php
->
line 63
/contentbank/classes/privacy/provider.php
->
line 197
/contentbank/classes/privacy/provider.php
->
line 213
/contentbank/classes/privacy/provider.php
->
line 217
/blocks/edit_form.php
->
line 100
/report/loglive/classes/table_log.php
->
line 190
/blocks/html/tests/search_content_test.php
->
line 115
/admin/tool/capability/renderer.php
->
line 133
/tag/classes/collection.php
->
line 368
/enrol/category/classes/observer.php
->
line 53
/enrol/category/classes/observer.php
->
line 111
/contentbank/contenttype/h5p/classes/form/editor.php
->
line 154
/question/type/calculated/datasetdefinitions_form.php
->
line 68
/question/category.php
->
line 104
/question/tests/backup_test.php
->
line 122
/mod/book/locallib.php
->
line 467
/mod/book/locallib.php
->
line 476
/customfield/classes/privacy/provider.php
->
line 481
/enrol/lti/classes/task/sync_grades.php
->
line 103
/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
/privacy/classes/local/request/moodle_content_writer.php
->
line 494
/backup/restorefile.php
->
line 46
/course/classes/category.php
->
line 1653
/repository/onedrive/lib.php
->
line 567
/competency/classes/competency_framework.php
->
line 76
/competency/classes/competency_framework.php
->
line 231
/blocks/tags/edit_form.php
->
line 57
/backup/externallib.php
->
line 228
/competency/classes/privacy/provider.php
->
line 845
/competency/classes/privacy/provider.php
->
line 846
/competency/classes/privacy/provider.php
->
line 847
/lib/tests/questionlib_test.php
->
line 477
/lib/tests/questionlib_test.php
->
line 505
/lib/tests/questionlib_test.php
->
line 615
/lib/tests/questionlib_test.php
->
line 724
/lib/tests/questionlib_test.php
->
line 776
/lib/tests/questionlib_test.php
->
line 913
/lib/tests/questionlib_test.php
->
line 945
/lib/tests/questionlib_test.php
->
line 985
/lib/tests/questionlib_test.php
->
line 1017
/lib/tests/questionlib_test.php
->
line 1057
/lib/tests/questionlib_test.php
->
line 1098
/lib/tests/questionlib_test.php
->
line 1145
/lib/tests/questionlib_test.php
->
line 1179
/lib/tests/questionlib_test.php
->
line 1220
/lib/tests/questionlib_test.php
->
line 1259
/lib/tests/questionlib_test.php
->
line 1304
/lib/tests/questionlib_test.php
->
line 1334
/lib/tests/questionlib_test.php
->
line 1371
/lib/tests/questionlib_test.php
->
line 1423
/lib/tests/questionlib_test.php
->
line 1430
/lib/deprecatedlib.php
->
line 1232
/report/log/classes/table_log.php
->
line 232
/report/questioninstances/index.php
->
line 122
/files/renderer.php
->
line 591
/grade/grading/form/rubric/classes/grades/grader/gradingpanel/external/store.php
->
line 128
/grade/grading/manage.php
->
line 59
/contentbank/classes/external/rename_content.php
->
line 83
/customfield/classes/data_controller.php
->
line 316
/analytics/classes/prediction.php
->
line 142
/mod/glossary/locallib.php
->
line 678
/mod/glossary/locallib.php
->
line 687
/lib/filelib.php
->
line 1155
/lib/filelib.php
->
line 1275
/lib/filelib.php
->
line 4793
/mod/data/lib.php
->
line 1598
/cohort/edit_form.php
->
line 116
/question/format/gift/format.php
->
line 855
/lib/classes/event/context_locked.php
->
line 66
/question/format.php
->
line 109
/question/format.php
->
line 564
/question/format.php
->
line 567
/blocks/html/lib.php
->
line 74
/contentbank/upload.php
->
line 33
/admin/tool/lp/editcompetencyframework.php
->
line 38
/cohort/upload.php
->
line 35
/competency/classes/template.php
->
line 145
/competency/classes/template.php
->
line 155
/enrol/meta/classes/observer.php
->
line 120
/enrol/meta/classes/observer.php
->
line 150
/admin/tool/dataprivacy/classes/data_registry.php
->
line 224
/admin/tool/dataprivacy/classes/data_registry.php
->
line 233
/admin/tool/analytics/classes/output/insights_report.php
->
line 58
/admin/tool/analytics/classes/output/insights_report.php
->
line 150
/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
/search/index.php
->
line 73
/blog/lib.php
->
line 1096
/contentbank/edit.php
->
line 32
/mod/h5pactivity/classes/xapi/handler.php
->
line 90
/mod/forum/lib.php
->
line 2205
/question/tests/events_test.php
->
line 443
/search/engine/simpledb/classes/privacy/provider.php
->
line 143
/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
/mod/wiki/classes/privacy/provider.php
->
line 538
/mod/wiki/classes/privacy/provider.php
->
line 602
/repository/coursefiles/lib.php
->
line 70
/repository/coursefiles/lib.php
->
line 161
/contentbank/classes/contenttype.php
->
line 162
/repository/manage_instances.php
->
line 68
/repository/manage_instances.php
->
line 182
/blocks/html/classes/search/content.php
->
line 84
/admin/tool/log/store/legacy/classes/privacy/provider.php
->
line 127
/tag/tests/events_test.php
->
line 131
/lib/questionlib.php
->
line 266
/lib/questionlib.php
->
line 587
/lib/questionlib.php
->
line 687
/lib/questionlib.php
->
line 700
/lib/questionlib.php
->
line 739
/lib/questionlib.php
->
line 926
/lib/questionlib.php
->
line 1024
/lib/questionlib.php
->
line 1413
/lib/questionlib.php
->
line 1479
/lib/questionlib.php
->
line 1705
/lib/questionlib.php
->
line 2167
/lib/questionlib.php
->
line 2295
/question/tests/generator/lib.php
->
line 106
/webservice/lib.php
->
line 1136
/lib/classes/event/contentbank_content_viewed.php
->
line 63
/comment/locallib.php
->
line 119
/tag/classes/external.php
->
line 304
/tag/classes/external.php
->
line 417
/admin/tool/cohortroles/classes/privacy/provider.php
->
line 206
/admin/tool/log/classes/local/privacy/moodle_database_export_and_delete.php
->
line 74
/blocks/activity_results/block_activity_results.php
->
line 91
/question/lib.php
->
line 57
/question/lib.php
->
line 66
/question/classes/bank/view.php
->
line 581
/question/classes/bank/view.php
->
line 815
/question/classes/bank/view.php
->
line 991
/analytics/tests/manager_test.php
->
line 94
/question/engine/questionusage.php
->
line 942
/lib/messagelib.php
->
line 178
/h5p/classes/helper.php
->
line 176
/h5p/classes/helper.php
->
line 199
/repository/contentbank/classes/browser/contentbank_browser.php
->
line 109
/repository/contentbank/lib.php
->
line 57
/repository/contentbank/lib.php
->
line 149
/lib/classes/event/contentbank_content_uploaded.php
->
line 63
/question/tests/random_question_loader_test.php
->
line 597
/contentbank/index.php
->
line 31
/lib/classes/event/contentbank_content_created.php
->
line 63
/question/tests/externallib_test.php
->
line 113
/question/tests/externallib_test.php
->
line 133
/question/tests/externallib_test.php
->
line 153
/question/tests/externallib_test.php
->
line 179
/question/tests/externallib_test.php
->
line 215
/question/tests/externallib_test.php
->
line 347
/question/tests/externallib_test.php
->
line 790
/question/tests/externallib_test.php
->
line 832
/message/classes/privacy/provider.php
->
line 993
/mod/h5pactivity/classes/privacy/provider.php
->
line 162
/mod/h5pactivity/classes/privacy/provider.php
->
line 212
/grade/grading/form/guide/classes/grades/grader/gradingpanel/external/fetch.php
->
line 118
/course/lib.php
->
line 3857
/course/lib.php
->
line 3866
/mod/forum/classes/search/post.php
->
line 245
/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/googledocs/lib.php
->
line 616
/cohort/edit.php
->
line 43
/cohort/edit.php
->
line 45
/cohort/edit.php
->
line 145
/cohort/edit.php
->
line 160
/message/classes/api.php
->
line 694
/message/classes/api.php
->
line 804
/message/classes/api.php
->
line 878
/message/classes/api.php
->
line 919
/message/classes/api.php
->
line 949
/message/classes/api.php
->
line 1697
/message/classes/api.php
->
line 2999
/message/classes/api.php
->
line 3040
/cohort/upload_form.php
->
line 114
/cohort/upload_form.php
->
line 240
/mod/forum/classes/observer.php
->
line 66
/tag/index.php
->
line 72
/question/addquestion.php
->
line 63
/competency/classes/evidence.php
->
line 119
/competency/classes/evidence.php
->
line 193
/contentbank/view.php
->
line 35
/mod/wiki/classes/search/collaborative_page.php
->
line 187
/enrol/cohort/lib.php
->
line 69
/enrol/cohort/lib.php
->
line 342
/h5p/classes/player.php
->
line 134
/question/preview.php
->
line 63
/lib/ajax/blocks.php
->
line 54