Quick Navigation
×
Moodle 4.3 XRef and Diffs
Home
Quick Navigation
Moodle 4.3
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 4.3 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.3.x will end 7 October 2024 (12 months).
Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.
Moodle 4.3 Database Schema (by Marcus Green)
count_records_sql
[
Top level directory
]
Function and Method Cross Reference
at:
/lib/dml/moodle_database.php
->
line 1953
Referenced 253 times:
/admin/tool/lp/classes/output/template_cohorts_table.php
->
line 176
/mod/glossary/index.php
->
line 104
/backup/util/dbops/backup_plan_dbops.class.php
->
line 283
/lib/grade/grade_scale.php
->
line 361
/lib/grade/grade_scale.php
->
line 367
/h5p/classes/framework.php
->
line 1111
/h5p/classes/framework.php
->
line 1514
/h5p/classes/framework.php
->
line 1542
/question/classes/local/bank/view.php
->
line 774
/auth/ldap/auth.php
->
line 772
/lib/badgeslib.php
->
line 322
/lib/classes/plugininfo/mod.php
->
line 210
/mod/lti/classes/output/course_tools_page.php
->
line 53
/mod/assign/locallib.php
->
line 2471
/mod/assign/locallib.php
->
line 2496
/mod/assign/locallib.php
->
line 2549
/mod/assign/locallib.php
->
line 2613
/lib/classes/plugininfo/enrol.php
->
line 147
/reportbuilder/classes/local/helpers/schedule.php
->
line 146
/repository/onedrive/lib.php
->
line 1049
/repository/onedrive/lib.php
->
line 1087
/grade/report/overview/lib.php
->
line 260
/report/outline/locallib.php
->
line 129
/report/outline/locallib.php
->
line 155
/report/outline/locallib.php
->
line 210
/report/outline/locallib.php
->
line 234
/admin/roles/classes/existing_role_holders.php
->
line 56
/enrol/cohort/tests/privacy/provider_test.php
->
line 165
/enrol/cohort/tests/privacy/provider_test.php
->
line 175
/enrol/cohort/tests/privacy/provider_test.php
->
line 224
/enrol/cohort/tests/privacy/provider_test.php
->
line 232
/enrol/cohort/tests/privacy/provider_test.php
->
line 247
/enrol/cohort/tests/privacy/provider_test.php
->
line 255
/enrol/cohort/tests/privacy/provider_test.php
->
line 311
/enrol/cohort/tests/privacy/provider_test.php
->
line 319
/enrol/cohort/tests/privacy/provider_test.php
->
line 335
/enrol/cohort/tests/privacy/provider_test.php
->
line 344
/enrol/meta/tests/privacy/provider_test.php
->
line 146
/enrol/meta/tests/privacy/provider_test.php
->
line 156
/enrol/meta/tests/privacy/provider_test.php
->
line 187
/enrol/meta/tests/privacy/provider_test.php
->
line 202
/enrol/meta/tests/privacy/provider_test.php
->
line 237
/enrol/meta/tests/privacy/provider_test.php
->
line 252
/competency/classes/course_module_competency.php
->
line 203
/admin/roles/classes/potential_assignees_course_and_above.php
->
line 58
/enrol/tests/enrollib_test.php
->
line 1479
/message/classes/api.php
->
line 727
/message/classes/api.php
->
line 924
/message/classes/api.php
->
line 1071
/message/classes/api.php
->
line 1271
/message/classes/api.php
->
line 1386
/message/classes/api.php
->
line 1531
/message/classes/api.php
->
line 2345
/mod/h5pactivity/classes/local/manager.php
->
line 315
/admin/tool/customlang/locallib.php
->
line 550
/lib/enrollib.php
->
line 1706
/grade/report/history/classes/helper.php
->
line 117
/report/participation/index.php
->
line 206
/report/participation/index.php
->
line 211
/admin/tool/generator/tests/maketestcourse_test.php
->
line 126
/question/tests/privacy/provider_test.php
->
line 517
/question/tests/privacy/provider_test.php
->
line 529
/admin/tool/xmldb/actions/check_foreign_keys/check_foreign_keys.class.php
->
line 133
/admin/tool/brickfield/classes/local/tool/errors.php
->
line 119
/admin/tool/brickfield/classes/local/tool/errors.php
->
line 128
/question/type/calculated/questiontype.php
->
line 1769
/question/type/calculated/questiontype.php
->
line 1771
/message/output/popup/classes/api.php
->
line 105
/course/tests/courselib_test.php
->
line 1881
/badges/lib/awardlib.php
->
line 206
/mnet/service/enrol/locallib.php
->
line 498
/mnet/service/enrol/locallib.php
->
line 586
/lib/classes/moodlenet/share_progress_table.php
->
line 235
/cohort/lib.php
->
line 469
/cohort/lib.php
->
line 514
/cohort/lib.php
->
line 520
/course/lib.php
->
line 249
/course/lib.php
->
line 2684
/course/lib.php
->
line 2716
/admin/webservice/lib.php
->
line 85
/admin/tool/monitor/classes/eventobservers.php
->
line 173
/competency/classes/template_competency.php
->
line 83
/competency/classes/template_competency.php
->
line 138
/competency/classes/template_competency.php
->
line 161
/grade/report/history/classes/output/tablelog.php
->
line 542
/mod/forum/classes/local/vaults/discussion_list.php
->
line 504
/mod/forum/classes/local/vaults/discussion_list.php
->
line 545
/mod/forum/report/summary/classes/summary_table.php
->
line 398
/enrol/lti/classes/helper.php
->
line 347
/lib/tablelib.php
->
line 2155
/lib/tablelib.php
->
line 2168
/lib/filestorage/file_storage.php
->
line 2019
/lib/filestorage/file_storage.php
->
line 2112
/competency/classes/course_competency.php
->
line 276
/badges/renderer.php
->
line 588
/badges/renderer.php
->
line 608
/badges/renderer.php
->
line 616
/mod/lti/locallib.php
->
line 3156
/mod/lti/locallib.php
->
line 3199
/competency/classes/competency.php
->
line 683
/admin/tool/brickfield/classes/local/tool/printable.php
->
line 208
/mod/lti/classes/local/types_helper.php
->
line 116
/mod/feedback/classes/responses_table.php
->
line 366
/mod/feedback/classes/responses_table.php
->
line 397
/lib/classes/check/access/frontpagerole.php
->
line 85
/question/bank/usage/classes/helper.php
->
line 46
/question/bank/usage/classes/helper.php
->
line 93
/backup/util/ui/restore_ui_components.php
->
line 191
/mod/scorm/locallib.php
->
line 1110
/mod/scorm/locallib.php
->
line 1408
/competency/classes/user_competency_course.php
->
line 253
/enrol/manual/locallib.php
->
line 70
/enrol/manual/locallib.php
->
line 139
/webservice/classes/token_table.php
->
line 344
/mod/quiz/lib.php
->
line 1651
/mod/quiz/lib.php
->
line 1659
/competency/classes/user_competency_plan.php
->
line 331
/group/tests/privacy/provider_test.php
->
line 182
/group/tests/privacy/provider_test.php
->
line 189
/group/tests/privacy/provider_test.php
->
line 200
/group/tests/privacy/provider_test.php
->
line 207
/group/tests/privacy/provider_test.php
->
line 247
/group/tests/privacy/provider_test.php
->
line 254
/group/tests/privacy/provider_test.php
->
line 265
/group/tests/privacy/provider_test.php
->
line 272
/group/tests/privacy/provider_test.php
->
line 348
/group/tests/privacy/provider_test.php
->
line 355
/group/tests/privacy/provider_test.php
->
line 362
/group/tests/privacy/provider_test.php
->
line 369
/group/tests/privacy/provider_test.php
->
line 384
/group/tests/privacy/provider_test.php
->
line 391
/group/tests/privacy/provider_test.php
->
line 398
/group/tests/privacy/provider_test.php
->
line 405
/group/tests/privacy/provider_test.php
->
line 452
/group/tests/privacy/provider_test.php
->
line 459
/group/tests/privacy/provider_test.php
->
line 466
/group/tests/privacy/provider_test.php
->
line 473
/group/tests/privacy/provider_test.php
->
line 488
/group/tests/privacy/provider_test.php
->
line 495
/group/tests/privacy/provider_test.php
->
line 502
/group/tests/privacy/provider_test.php
->
line 509
/group/tests/privacy/provider_test.php
->
line 558
/group/tests/privacy/provider_test.php
->
line 565
/group/tests/privacy/provider_test.php
->
line 572
/group/tests/privacy/provider_test.php
->
line 579
/group/tests/privacy/provider_test.php
->
line 593
/group/tests/privacy/provider_test.php
->
line 600
/group/tests/privacy/provider_test.php
->
line 607
/group/tests/privacy/provider_test.php
->
line 614
/group/tests/privacy/provider_test.php
->
line 627
/group/tests/privacy/provider_test.php
->
line 634
/group/tests/privacy/provider_test.php
->
line 641
/group/tests/privacy/provider_test.php
->
line 648
/group/tests/privacy/provider_test.php
->
line 841
/group/tests/privacy/provider_test.php
->
line 848
/group/tests/privacy/provider_test.php
->
line 859
/group/tests/privacy/provider_test.php
->
line 866
/group/tests/privacy/provider_test.php
->
line 911
/group/tests/privacy/provider_test.php
->
line 918
/group/tests/privacy/provider_test.php
->
line 925
/group/tests/privacy/provider_test.php
->
line 932
/group/tests/privacy/provider_test.php
->
line 947
/group/tests/privacy/provider_test.php
->
line 954
/group/tests/privacy/provider_test.php
->
line 961
/group/tests/privacy/provider_test.php
->
line 968
/group/tests/privacy/provider_test.php
->
line 1013
/group/tests/privacy/provider_test.php
->
line 1020
/group/tests/privacy/provider_test.php
->
line 1040
/badges/classes/output/manage_badge_action_bar.php
->
line 166
/mod/quiz/report/overview/report.php
->
line 644
/mod/data/index.php
->
line 111
/mod/data/index.php
->
line 114
/blocks/online_users/classes/fetcher.php
->
line 190
/report/infectedfiles/classes/table/infectedfiles_table.php
->
line 139
/admin/roles/classes/admins_potential_selector.php
->
line 67
/backup/util/structure/tests/structure_test.php
->
line 445
/backup/util/structure/tests/structure_test.php
->
line 446
/backup/util/structure/tests/structure_test.php
->
line 447
/admin/tool/monitor/classes/subscription_manager.php
->
line 310
/admin/tool/monitor/classes/subscription_manager.php
->
line 350
/admin/tool/monitor/classes/subscription_manager.php
->
line 422
/lib/completionlib.php
->
line 1398
/reportbuilder/classes/external/system_report_data_exporter.php
->
line 112
/reportbuilder/classes/external/custom_report_data_exporter.php
->
line 104
/user/selector/lib.php
->
line 1005
/grade/report/history/tests/report_test.php
->
line 662
/mod/glossary/classes/entry_query_builder.php
->
line 161
/backup/util/dbops/backup_controller_dbops.class.php
->
line 477
/backup/util/dbops/backup_controller_dbops.class.php
->
line 522
/admin/tool/lp/classes/output/template_plans_table.php
->
line 184
/admin/tool/mfa/classes/output/renderer.php
->
line 421
/backup/moodle2/restore_stepslib.php
->
line 2104
/tag/classes/manage_table.php
->
line 134
/tag/classes/manage_table.php
->
line 144
/mod/bigbluebuttonbn/classes/logger.php
->
line 473
/lib/classes/check/access/guestrole.php
->
line 84
/mod/quiz/locallib.php
->
line 665
/mod/quiz/locallib.php
->
line 699
/mod/glossary/lib.php
->
line 615
/mod/glossary/lib.php
->
line 2581
/mod/glossary/lib.php
->
line 2605
/mod/glossary/lib.php
->
line 3688
/mod/glossary/lib.php
->
line 3853
/cohort/locallib.php
->
line 69
/cohort/locallib.php
->
line 138
/question/bank/bulkmove/tests/helper_test.php
->
line 142
/enrol/locallib.php
->
line 183
/enrol/locallib.php
->
line 214
/enrol/locallib.php
->
line 475
/admin/tool/cohortroles/classes/output/cohort_role_assignments_table.php
->
line 233
/admin/tool/lp/classes/external.php
->
line 885
/grade/report/user/classes/report/user.php
->
line 791
/lib/dml/moodle_database.php
->
line 1950
/lib/dml/moodle_database.php
->
line 1969
/mod/quiz/report/statistics/report.php
->
line 841
/lib/tests/questionlib_test.php
->
line 489
/mod/data/lib.php
->
line 1099
/admin/tool/dataprivacy/classes/expired_context.php
->
line 175
/admin/roles/classes/potential_assignees_below_course.php
->
line 66
/user/classes/table/participants_search.php
->
line 148
/lib/statslib.php
->
line 226
/admin/roles/classes/check_users_selector.php
->
line 122
/admin/roles/classes/check_users_selector.php
->
line 139
/competency/classes/api.php
->
line 1414
/competency/classes/api.php
->
line 1440
/competency/classes/api.php
->
line 2460
/competency/classes/api.php
->
line 2493
/reportbuilder/classes/table/base_report_table.php
->
line 177
/lib/classes/check/access/riskbackup_result.php
->
line 106
/mod/workshop/locallib.php
->
line 616
/mod/workshop/locallib.php
->
line 667
/mod/workshop/locallib.php
->
line 729
/mod/workshop/locallib.php
->
line 757
/mod/workshop/locallib.php
->
line 858
/mod/workshop/locallib.php
->
line 965
/mod/workshop/locallib.php
->
line 2901
/mod/workshop/locallib.php
->
line 3805
/repository/lib.php
->
line 2999
/message/classes/external/get_unread_notification_count.php
->
line 85
/question/bank/managecategories/classes/helper.php
->
line 88
/mod/forum/lib.php
->
line 1256
/mod/forum/lib.php
->
line 4931
/mod/forum/lib.php
->
line 5899
/lib/classes/check/access/riskxss_result.php
->
line 78
/lib/dml/tests/dml_test.php
->
line 3391
/lib/dml/tests/dml_test.php
->
line 3395
/lib/dml/tests/dml_test.php
->
line 3402
/mod/quiz/tests/quiz_question_restore_test.php
->
line 143
/blog/locallib.php
->
line 698
/mod/feedback/lib.php
->
line 1054
/lib/accesslib.php
->
line 4230
/mod/data/locallib.php
->
line 1248
/mod/h5pactivity/tests/local/manager_test.php
->
line 660