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)
courseids
[
Top level directory
]
Variable Cross Reference
at:
/mod/lesson/classes/external.php
->
line 111
/report/loglive/classes/table_log.php
->
line 369
/calendar/managesubscriptions.php
->
line 120
/mod/lti/locallib.php
->
line 2800
/mod/lti/locallib.php
->
line 2806
/mod/scorm/classes/external.php
->
line 658
/mod/h5pactivity/tests/external/get_h5pactivities_by_courses_test.php
->
line 110
/lib/classes/analytics/analyser/courses.php
->
line 114
/mod/choice/classes/external.php
->
line 473
/course/classes/external/get_enrolled_courses_with_action_events_by_timeline_classification.php
->
line 135
/course/management.php
->
line 293
/notes/externallib.php
->
line 88
/mod/assign/locallib.php
->
line 2694
/mod/assign/locallib.php
->
line 2700
/admin/tool/brickfield/classes/accessibility.php
->
line 461
/mod/data/classes/external.php
->
line 73
/lib/tests/externallib_test.php
->
line 461
/lib/tests/externallib_test.php
->
line 497
/lib/tests/externallib_test.php
->
line 524
/mod/forum/lib.php
->
line 5764
/mod/forum/classes/subscriptions.php
->
line 210
/grade/querylib.php
->
line 144
/mod/forum/externallib.php
->
line 59
/mod/bigbluebuttonbn/classes/external/get_bigbluebuttonbns_by_courses.php
->
line 69
/mod/bigbluebuttonbn/classes/external/get_bigbluebuttonbns_by_courses.php
->
line 78
/calendar/lib.php
->
line 3856
/lib/classes/analytics/analyser/site_courses.php
->
line 91
/lib/classes/analytics/analyser/site_courses.php
->
line 114
/mod/survey/classes/external.php
->
line 67
/mod/page/classes/external.php
->
line 131
/message/lib.php
->
line 197
/message/lib.php
->
line 202
/mod/workshop/classes/external.php
->
line 71
/course/classes/privacy/provider.php
->
line 156
/mod/forum/classes/task/cron_task.php
->
line 130
/grade/classes/privacy/provider.php
->
line 461
/grade/classes/privacy/provider.php
->
line 731
/mod/wiki/classes/external.php
->
line 68
/search/index.php
->
line 110
/search/index.php
->
line 112
/calendar/classes/external/events_related_objects_cache.php
->
line 215
/mod/url/classes/external.php
->
line 131
/message/externallib.php
->
line 1890
/course/lib.php
->
line 1963
/mod/chat/lib.php
->
line 704
/mod/chat/lib.php
->
line 728
/mod/assign/externallib.php
->
line 259
/mod/assign/externallib.php
->
line 278
/mod/assign/externallib.php
->
line 281
/mod/assign/externallib.php
->
line 300
/lib/externallib.php
->
line 1403
/competency/classes/privacy/provider.php
->
line 899
/course/externallib.php
->
line 3192
/mod/forum/classes/task/send_user_notifications.php
->
line 221
/enrol/paypal/classes/privacy/provider.php
->
line 281
/lib/tests/accesslib_test.php
->
line 2426
/question/bank/managecategories/classes/question_category_object.php
->
line 194
/question/bank/managecategories/classes/question_category_object.php
->
line 198
/admin/course/resetindentation.php
->
line 39
/mod/forum/classes/task/send_user_digests.php
->
line 297
/enrol/tests/enrollib_test.php
->
line 853
/enrol/tests/enrollib_test.php
->
line 862
/mod/imscp/classes/external.php
->
line 131
/calendar/classes/local/event/data_access/event_vault.php
->
line 210
/calendar/classes/local/event/data_access/event_vault.php
->
line 221
/report/stats/classes/privacy/provider.php
->
line 170
/user/externallib.php
->
line 1026
/course/classes/management/helper.php
->
line 853
/course/classes/management/helper.php
->
line 857
/mod/folder/classes/external.php
->
line 131
/lib/enrollib.php
->
line 569
/lib/enrollib.php
->
line 748
/mod/lti/classes/external.php
->
line 273
/mod/resource/classes/external.php
->
line 131
/mod/glossary/classes/external.php
->
line 200
/mod/glossary/classes/external.php
->
line 205
/mod/glossary/classes/external.php
->
line 209
/mod/chat/classes/external.php
->
line 520
/enrol/fee/classes/privacy/provider.php
->
line 198
/calendar/renderer.php
->
line 272
/mod/label/classes/external.php
->
line 66
/mod/quiz/classes/external.php
->
line 67
/mod/lti/classes/privacy/provider.php
->
line 343
/mod/book/classes/external.php
->
line 173
/mod/feedback/classes/external.php
->
line 73
/course/classes/category.php
->
line 1004
/reportbuilder/classes/local/filters/course_selector.php
->
line 60
Referenced 335 times:
/mod/lesson/classes/external.php
->
line 111
/mod/lesson/classes/external.php
->
line 118
/mod/h5pactivity/classes/external/get_h5pactivities_by_courses.php
->
line 72
/mod/h5pactivity/classes/external/get_h5pactivities_by_courses.php
->
line 79
/report/loglive/classes/table_log.php
->
line 369
/report/loglive/classes/table_log.php
->
line 384
/report/loglive/classes/table_log.php
->
line 385
/report/loglive/classes/table_log.php
->
line 402
/report/loglive/classes/table_log.php
->
line 403
/admin/tool/brickfield/tests/local/tool/checktyperesults_test.php
->
line 58
/calendar/managesubscriptions.php
->
line 120
/calendar/managesubscriptions.php
->
line 124
/mod/lti/locallib.php
->
line 2800
/mod/lti/locallib.php
->
line 2802
/mod/lti/locallib.php
->
line 2806
/mod/lti/locallib.php
->
line 2806
/mod/lti/locallib.php
->
line 2807
/mod/scorm/classes/external.php
->
line 658
/mod/scorm/classes/external.php
->
line 664
/mod/h5pactivity/tests/external/get_h5pactivities_by_courses_test.php
->
line 110
/mod/h5pactivity/tests/external/get_h5pactivities_by_courses_test.php
->
line 111
/search/engine/solr/classes/engine.php
->
line 288
/search/engine/solr/classes/engine.php
->
line 289
/lib/classes/analytics/analyser/courses.php
->
line 114
/lib/classes/analytics/analyser/courses.php
->
line 115
/lib/classes/analytics/analyser/courses.php
->
line 115
/mod/choice/classes/external.php
->
line 473
/mod/choice/classes/external.php
->
line 479
/course/classes/external/get_enrolled_courses_with_action_events_by_timeline_classification.php
->
line 135
/course/classes/external/get_enrolled_courses_with_action_events_by_timeline_classification.php
->
line 136
/course/classes/external/get_enrolled_courses_with_action_events_by_timeline_classification.php
->
line 138
/course/classes/external/get_enrolled_courses_with_action_events_by_timeline_classification.php
->
line 140
/course/classes/external/get_enrolled_courses_with_action_events_by_timeline_classification.php
->
line 150
/course/management.php
->
line 293
/course/management.php
->
line 294
/course/management.php
->
line 301
/course/management.php
->
line 305
/calendar/tests/lib_test.php
->
line 833
/calendar/tests/lib_test.php
->
line 837
/calendar/tests/lib_test.php
->
line 851
/calendar/tests/lib_test.php
->
line 853
/calendar/tests/lib_test.php
->
line 858
/calendar/tests/lib_test.php
->
line 862
/calendar/tests/lib_test.php
->
line 878
/calendar/tests/lib_test.php
->
line 879
/calendar/tests/lib_test.php
->
line 894
/calendar/tests/lib_test.php
->
line 896
/admin/tool/brickfield/tests/local/tool/activityresults_test.php
->
line 58
/notes/externallib.php
->
line 88
/notes/externallib.php
->
line 90
/notes/externallib.php
->
line 92
/mod/assign/locallib.php
->
line 2694
/mod/assign/locallib.php
->
line 2696
/mod/assign/locallib.php
->
line 2700
/mod/assign/locallib.php
->
line 2700
/mod/assign/locallib.php
->
line 2702
/mod/assign/locallib.php
->
line 2712
/admin/tool/brickfield/classes/local/tool/printable.php
->
line 205
/lib/classes/hub/api.php
->
line 283
/admin/tool/brickfield/classes/accessibility.php
->
line 461
/admin/tool/brickfield/classes/accessibility.php
->
line 463
/admin/tool/brickfield/classes/local/tool/errors.php
->
line 125
/mod/data/classes/external.php
->
line 73
/mod/data/classes/external.php
->
line 76
/calendar/externallib.php
->
line 607
/calendar/externallib.php
->
line 615
/lib/tests/externallib_test.php
->
line 461
/lib/tests/externallib_test.php
->
line 464
/lib/tests/externallib_test.php
->
line 475
/lib/tests/externallib_test.php
->
line 497
/lib/tests/externallib_test.php
->
line 500
/lib/tests/externallib_test.php
->
line 524
/lib/tests/externallib_test.php
->
line 528
/mod/forum/lib.php
->
line 5764
/mod/forum/lib.php
->
line 5767
/mod/forum/lib.php
->
line 5768
/mod/forum/classes/subscriptions.php
->
line 210
/mod/forum/classes/subscriptions.php
->
line 212
/mod/forum/classes/subscriptions.php
->
line 214
/grade/querylib.php
->
line 144
/grade/querylib.php
->
line 145
/mod/forum/externallib.php
->
line 59
/mod/forum/externallib.php
->
line 64
/mod/bigbluebuttonbn/classes/external/get_bigbluebuttonbns_by_courses.php
->
line 69
/mod/bigbluebuttonbn/classes/external/get_bigbluebuttonbns_by_courses.php
->
line 74
/mod/bigbluebuttonbn/classes/external/get_bigbluebuttonbns_by_courses.php
->
line 74
/mod/bigbluebuttonbn/classes/external/get_bigbluebuttonbns_by_courses.php
->
line 76
/mod/bigbluebuttonbn/classes/external/get_bigbluebuttonbns_by_courses.php
->
line 78
/mod/bigbluebuttonbn/classes/external/get_bigbluebuttonbns_by_courses.php
->
line 82
/mod/bigbluebuttonbn/classes/external/get_bigbluebuttonbns_by_courses.php
->
line 83
/calendar/lib.php
->
line 1187
/calendar/lib.php
->
line 1188
/calendar/lib.php
->
line 3856
/calendar/lib.php
->
line 3861
/calendar/lib.php
->
line 3883
/lib/classes/analytics/analyser/site_courses.php
->
line 91
/lib/classes/analytics/analyser/site_courses.php
->
line 92
/lib/classes/analytics/analyser/site_courses.php
->
line 92
/lib/classes/analytics/analyser/site_courses.php
->
line 114
/lib/classes/analytics/analyser/site_courses.php
->
line 115
/lib/classes/analytics/analyser/site_courses.php
->
line 115
/mod/survey/classes/external.php
->
line 67
/mod/survey/classes/external.php
->
line 73
/mod/page/classes/external.php
->
line 131
/mod/page/classes/external.php
->
line 137
/message/lib.php
->
line 192
/message/lib.php
->
line 196
/message/lib.php
->
line 197
/message/lib.php
->
line 201
/message/lib.php
->
line 202
/message/lib.php
->
line 202
/message/lib.php
->
line 236
/message/lib.php
->
line 253
/mod/workshop/classes/external.php
->
line 71
/mod/workshop/classes/external.php
->
line 78
/admin/tool/brickfield/tests/local/tool/printable_test.php
->
line 70
/admin/tool/brickfield/tests/local/tool/printable_test.php
->
line 85
/course/classes/privacy/provider.php
->
line 156
/course/classes/privacy/provider.php
->
line 169
/course/classes/privacy/provider.php
->
line 176
/course/classes/privacy/provider.php
->
line 182
/course/classes/privacy/provider.php
->
line 187
/mod/forum/classes/task/cron_task.php
->
line 130
/mod/forum/classes/task/cron_task.php
->
line 138
/mod/forum/classes/task/cron_task.php
->
line 155
/mod/forum/classes/task/cron_task.php
->
line 186
/mod/forum/classes/task/cron_task.php
->
line 189
/admin/tool/brickfield/classes/local/tool/checktyperesults.php
->
line 77
/grade/classes/privacy/provider.php
->
line 461
/grade/classes/privacy/provider.php
->
line 464
/grade/classes/privacy/provider.php
->
line 467
/grade/classes/privacy/provider.php
->
line 470
/grade/classes/privacy/provider.php
->
line 731
/grade/classes/privacy/provider.php
->
line 739
/grade/classes/privacy/provider.php
->
line 743
/grade/classes/privacy/provider.php
->
line 1125
/grade/classes/privacy/provider.php
->
line 1127
/grade/classes/privacy/provider.php
->
line 1130
/mod/wiki/classes/external.php
->
line 68
/mod/wiki/classes/external.php
->
line 73
/search/engine/simpledb/tests/engine_test.php
->
line 173
/search/engine/simpledb/tests/engine_test.php
->
line 176
/search/engine/simpledb/tests/engine_test.php
->
line 180
/search/index.php
->
line 110
/search/index.php
->
line 111
/search/index.php
->
line 112
/search/index.php
->
line 112
/search/index.php
->
line 113
/search/index.php
->
line 113
/search/index.php
->
line 128
/search/index.php
->
line 131
/search/index.php
->
line 154
/search/index.php
->
line 155
/search/index.php
->
line 202
/search/index.php
->
line 202
/calendar/classes/external/events_related_objects_cache.php
->
line 215
/calendar/classes/external/events_related_objects_cache.php
->
line 219
/calendar/classes/external/events_related_objects_cache.php
->
line 223
/calendar/classes/external/events_related_objects_cache.php
->
line 228
/mod/url/classes/external.php
->
line 131
/mod/url/classes/external.php
->
line 137
/message/externallib.php
->
line 1890
/message/externallib.php
->
line 1894
/message/externallib.php
->
line 1897
/message/externallib.php
->
line 1901
/admin/tool/brickfield/tests/local/tool/errors_test.php
->
line 58
/course/lib.php
->
line 1951
/course/lib.php
->
line 1954
/course/lib.php
->
line 1963
/course/lib.php
->
line 1963
/course/lib.php
->
line 1967
/mod/chat/lib.php
->
line 704
/mod/chat/lib.php
->
line 709
/mod/chat/lib.php
->
line 728
/mod/chat/lib.php
->
line 728
/mod/chat/lib.php
->
line 729
/mod/assign/externallib.php
->
line 259
/mod/assign/externallib.php
->
line 265
/mod/assign/externallib.php
->
line 278
/mod/assign/externallib.php
->
line 281
/mod/assign/externallib.php
->
line 300
/mod/assign/externallib.php
->
line 303
/search/engine/solr/tests/engine_test.php
->
line 276
/search/engine/solr/tests/engine_test.php
->
line 279
/search/engine/solr/tests/engine_test.php
->
line 283
/search/engine/solr/tests/engine_test.php
->
line 852
/search/engine/solr/tests/engine_test.php
->
line 855
/lib/externallib.php
->
line 1398
/lib/externallib.php
->
line 1403
/lib/externallib.php
->
line 1403
/lib/externallib.php
->
line 1407
/lib/externallib.php
->
line 1412
/lib/externallib.php
->
line 1437
/competency/classes/privacy/provider.php
->
line 899
/competency/classes/privacy/provider.php
->
line 908
/competency/classes/privacy/provider.php
->
line 948
/competency/classes/privacy/provider.php
->
line 949
/competency/classes/privacy/provider.php
->
line 950
/competency/classes/privacy/provider.php
->
line 962
/competency/classes/privacy/provider.php
->
line 971
/competency/classes/privacy/provider.php
->
line 1019
/competency/classes/privacy/provider.php
->
line 1023
/competency/classes/privacy/provider.php
->
line 1030
/competency/classes/privacy/provider.php
->
line 1071
/competency/classes/privacy/provider.php
->
line 1076
/course/externallib.php
->
line 1210
/course/externallib.php
->
line 1215
/course/externallib.php
->
line 2990
/course/externallib.php
->
line 2995
/course/externallib.php
->
line 3080
/course/externallib.php
->
line 3085
/course/externallib.php
->
line 3192
/course/externallib.php
->
line 3193
/course/externallib.php
->
line 3203
/search/engine/simpledb/classes/engine.php
->
line 102
/search/engine/simpledb/classes/engine.php
->
line 103
/mod/forum/classes/task/send_user_notifications.php
->
line 221
/mod/forum/classes/task/send_user_notifications.php
->
line 226
/mod/forum/classes/task/send_user_notifications.php
->
line 262
/enrol/paypal/classes/privacy/provider.php
->
line 281
/enrol/paypal/classes/privacy/provider.php
->
line 284
/enrol/paypal/classes/privacy/provider.php
->
line 288
/lib/tests/accesslib_test.php
->
line 2426
/lib/tests/accesslib_test.php
->
line 2429
/question/bank/managecategories/classes/question_category_object.php
->
line 194
/question/bank/managecategories/classes/question_category_object.php
->
line 196
/question/bank/managecategories/classes/question_category_object.php
->
line 198
/question/bank/managecategories/classes/question_category_object.php
->
line 198
/question/bank/managecategories/classes/question_category_object.php
->
line 201
/admin/course/resetindentation.php
->
line 39
/admin/course/resetindentation.php
->
line 40
/mod/forum/classes/task/send_user_digests.php
->
line 297
/mod/forum/classes/task/send_user_digests.php
->
line 302
/mod/forum/classes/task/send_user_digests.php
->
line 324
/enrol/tests/enrollib_test.php
->
line 853
/enrol/tests/enrollib_test.php
->
line 854
/enrol/tests/enrollib_test.php
->
line 862
/enrol/tests/enrollib_test.php
->
line 863
/mod/imscp/classes/external.php
->
line 131
/mod/imscp/classes/external.php
->
line 137
/calendar/classes/local/event/data_access/event_vault.php
->
line 210
/calendar/classes/local/event/data_access/event_vault.php
->
line 214
/calendar/classes/local/event/data_access/event_vault.php
->
line 221
/calendar/classes/local/event/data_access/event_vault.php
->
line 221
/calendar/classes/local/event/data_access/event_vault.php
->
line 221
/calendar/classes/local/event/data_access/event_vault.php
->
line 221
/calendar/classes/local/event/data_access/event_vault.php
->
line 234
/calendar/classes/local/event/data_access/event_vault.php
->
line 234
/report/stats/classes/privacy/provider.php
->
line 170
/report/stats/classes/privacy/provider.php
->
line 176
/user/externallib.php
->
line 1026
/user/externallib.php
->
line 1029
/user/externallib.php
->
line 1034
/user/externallib.php
->
line 1064
/user/externallib.php
->
line 1065
/course/classes/management/helper.php
->
line 773
/course/classes/management/helper.php
->
line 776
/course/classes/management/helper.php
->
line 785
/course/classes/management/helper.php
->
line 853
/course/classes/management/helper.php
->
line 855
/course/classes/management/helper.php
->
line 857
/course/classes/management/helper.php
->
line 857
/course/classes/management/helper.php
->
line 860
/course/classes/management/helper.php
->
line 872
/course/classes/management/helper.php
->
line 876
/course/classes/management/helper.php
->
line 889
/admin/tool/brickfield/classes/local/tool/filter.php
->
line 47
/admin/tool/brickfield/classes/local/tool/filter.php
->
line 103
/admin/tool/brickfield/classes/local/tool/filter.php
->
line 105
/admin/tool/brickfield/classes/local/tool/filter.php
->
line 125
/admin/tool/brickfield/classes/local/tool/filter.php
->
line 126
/admin/tool/brickfield/classes/local/tool/filter.php
->
line 127
/admin/tool/brickfield/classes/local/tool/filter.php
->
line 130
/admin/tool/brickfield/classes/local/tool/filter.php
->
line 145
/mod/folder/classes/external.php
->
line 131
/mod/folder/classes/external.php
->
line 137
/lib/enrollib.php
->
line 569
/lib/enrollib.php
->
line 694
/lib/enrollib.php
->
line 695
/lib/enrollib.php
->
line 748
/lib/enrollib.php
->
line 755
/lib/enrollib.php
->
line 766
/lib/enrollib.php
->
line 770
/lib/enrollib.php
->
line 772
/mod/lti/classes/external.php
->
line 273
/mod/lti/classes/external.php
->
line 279
/mod/resource/classes/external.php
->
line 131
/mod/resource/classes/external.php
->
line 137
/admin/tool/lpmigrate/classes/framework_processor.php
->
line 602
/admin/tool/lpmigrate/classes/framework_processor.php
->
line 603
/admin/tool/lpmigrate/classes/framework_processor.php
->
line 618
/admin/tool/lpmigrate/classes/framework_processor.php
->
line 619
/mod/glossary/classes/external.php
->
line 200
/mod/glossary/classes/external.php
->
line 201
/mod/glossary/classes/external.php
->
line 205
/mod/glossary/classes/external.php
->
line 207
/mod/glossary/classes/external.php
->
line 209
/mod/glossary/classes/external.php
->
line 217
/mod/glossary/classes/external.php
->
line 218
/mod/chat/classes/external.php
->
line 520
/mod/chat/classes/external.php
->
line 526
/search/classes/manager.php
->
line 1169
/search/classes/manager.php
->
line 1171
/search/classes/manager.php
->
line 1173
/lib/navigationlib.php
->
line 1877
/lib/navigationlib.php
->
line 1884
/enrol/fee/classes/privacy/provider.php
->
line 198
/enrol/fee/classes/privacy/provider.php
->
line 201
/enrol/fee/classes/privacy/provider.php
->
line 205
/calendar/renderer.php
->
line 272
/calendar/renderer.php
->
line 275
/mod/label/classes/external.php
->
line 66
/mod/label/classes/external.php
->
line 72
/mod/quiz/classes/external.php
->
line 67
/mod/quiz/classes/external.php
->
line 74
/mod/lti/classes/privacy/provider.php
->
line 343
/mod/lti/classes/privacy/provider.php
->
line 350
/mod/lti/classes/privacy/provider.php
->
line 356
/search/tests/manager_test.php
->
line 1480
/search/tests/manager_test.php
->
line 1485
/search/tests/manager_test.php
->
line 1490
/search/tests/manager_test.php
->
line 1495
/mod/book/classes/external.php
->
line 173
/mod/book/classes/external.php
->
line 179
/mod/feedback/classes/external.php
->
line 73
/mod/feedback/classes/external.php
->
line 80
/course/classes/category.php
->
line 1004
/course/classes/category.php
->
line 1009
/course/classes/category.php
->
line 1014
/course/classes/category.php
->
line 1020
/course/classes/category.php
->
line 1076
/admin/tool/brickfield/classes/local/tool/activityresults.php
->
line 78
/reportbuilder/classes/local/filters/course_selector.php
->
line 60
/reportbuilder/classes/local/filters/course_selector.php
->
line 61
/reportbuilder/classes/local/filters/course_selector.php
->
line 66