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)
count_records_sql
[
Top level directory
]
Function and Method Cross Reference
at:
/lib/dml/moodle_database.php
->
line 1940
Referenced 235 times:
/admin/roles/classes/check_users_selector.php
->
line 117
/admin/roles/classes/check_users_selector.php
->
line 134
/badges/lib/awardlib.php
->
line 206
/lib/classes/check/access/frontpagerole.php
->
line 85
/lib/grade/grade_scale.php
->
line 347
/lib/grade/grade_scale.php
->
line 353
/cohort/locallib.php
->
line 64
/cohort/locallib.php
->
line 128
/mod/feedback/lib.php
->
line 1075
/backup/moodle2/restore_stepslib.php
->
line 2024
/tag/classes/manage_table.php
->
line 131
/tag/classes/manage_table.php
->
line 141
/admin/tool/customlang/locallib.php
->
line 548
/competency/classes/course_module_competency.php
->
line 199
/lib/classes/check/access/guestrole.php
->
line 84
/message/lib.php
->
line 104
/enrol/cohort/tests/privacy_test.php
->
line 163
/enrol/cohort/tests/privacy_test.php
->
line 173
/enrol/cohort/tests/privacy_test.php
->
line 222
/enrol/cohort/tests/privacy_test.php
->
line 230
/enrol/cohort/tests/privacy_test.php
->
line 245
/enrol/cohort/tests/privacy_test.php
->
line 253
/enrol/cohort/tests/privacy_test.php
->
line 309
/enrol/cohort/tests/privacy_test.php
->
line 317
/enrol/cohort/tests/privacy_test.php
->
line 333
/enrol/cohort/tests/privacy_test.php
->
line 342
/lib/dml/moodle_database.php
->
line 1937
/lib/dml/moodle_database.php
->
line 1956
/lib/dml/tests/dml_test.php
->
line 3292
/lib/dml/tests/dml_test.php
->
line 3296
/lib/dml/tests/dml_test.php
->
line 3303
/grade/report/user/lib.php
->
line 661
/mod/h5pactivity/classes/local/manager.php
->
line 315
/blocks/online_users/classes/fetcher.php
->
line 189
/admin/tool/cohortroles/classes/output/cohort_role_assignments_table.php
->
line 228
/report/infectedfiles/classes/table/infectedfiles_table.php
->
line 135
/admin/roles/classes/potential_assignees_below_course.php
->
line 65
/mod/glossary/index.php
->
line 104
/lib/accesslib.php
->
line 4100
/enrol/lti/classes/helper.php
->
line 347
/mod/data/locallib.php
->
line 1230
/grade/report/history/classes/output/tablelog.php
->
line 491
/admin/roles/classes/admins_potential_selector.php
->
line 64
/grade/report/overview/lib.php
->
line 249
/lib/classes/check/access/defaultuserrole.php
->
line 86
/backup/util/ui/restore_ui_components.php
->
line 190
/cohort/lib.php
->
line 436
/cohort/lib.php
->
line 471
/cohort/lib.php
->
line 477
/backup/util/dbops/backup_plan_dbops.class.php
->
line 283
/mod/glossary/lib.php
->
line 610
/mod/glossary/lib.php
->
line 2561
/mod/glossary/lib.php
->
line 2585
/mod/glossary/lib.php
->
line 3686
/mod/glossary/lib.php
->
line 3850
/lib/classes/check/access/riskbackup_result.php
->
line 100
/lib/completionlib.php
->
line 1168
/admin/tool/monitor/classes/eventobservers.php
->
line 173
/h5p/classes/framework.php
->
line 977
/h5p/classes/framework.php
->
line 1380
/h5p/classes/framework.php
->
line 1408
/lib/enrollib.php
->
line 1662
/mod/workshop/locallib.php
->
line 611
/mod/workshop/locallib.php
->
line 662
/mod/workshop/locallib.php
->
line 715
/mod/workshop/locallib.php
->
line 743
/mod/workshop/locallib.php
->
line 844
/mod/workshop/locallib.php
->
line 950
/mod/workshop/locallib.php
->
line 2875
/mod/workshop/locallib.php
->
line 3696
/admin/roles/classes/existing_role_holders.php
->
line 55
/question/editlib.php
->
line 105
/mod/data/index.php
->
line 107
/mod/data/index.php
->
line 110
/admin/webservice/lib.php
->
line 85
/webservice/classes/token_table.php
->
line 255
/competency/classes/api.php
->
line 1414
/competency/classes/api.php
->
line 1440
/competency/classes/api.php
->
line 2456
/competency/classes/api.php
->
line 2489
/question/tests/privacy_provider_test.php
->
line 514
/question/tests/privacy_provider_test.php
->
line 525
/grade/report/history/classes/helper.php
->
line 117
/enrol/meta/tests/privacy_test.php
->
line 144
/enrol/meta/tests/privacy_test.php
->
line 154
/enrol/meta/tests/privacy_test.php
->
line 185
/enrol/meta/tests/privacy_test.php
->
line 200
/enrol/meta/tests/privacy_test.php
->
line 235
/enrol/meta/tests/privacy_test.php
->
line 250
/badges/renderer.php
->
line 836
/badges/renderer.php
->
line 856
/badges/renderer.php
->
line 864
/enrol/manual/locallib.php
->
line 65
/enrol/manual/locallib.php
->
line 129
/message/output/popup/classes/api.php
->
line 105
/mod/glossary/classes/entry_query_builder.php
->
line 159
/blog/locallib.php
->
line 635
/mod/forum/report/summary/classes/summary_table.php
->
line 398
/repository/onedrive/lib.php
->
line 1042
/repository/onedrive/lib.php
->
line 1075
/admin/classes/task_log_table.php
->
line 147
/lib/badgeslib.php
->
line 321
/user/classes/table/participants_search.php
->
line 148
/enrol/tests/enrollib_test.php
->
line 1457
/user/selector/lib.php
->
line 926
/lib/tests/questionlib_test.php
->
line 451
/lib/deprecatedlib.php
->
line 3313
/mod/data/lib.php
->
line 965
/admin/tool/lp/classes/output/template_cohorts_table.php
->
line 176
/question/type/calculated/questiontype.php
->
line 1763
/mnet/service/enrol/locallib.php
->
line 498
/mnet/service/enrol/locallib.php
->
line 586
/message/output/popup/db/upgrade.php
->
line 53
/mod/assign/locallib.php
->
line 2370
/mod/assign/locallib.php
->
line 2395
/mod/assign/locallib.php
->
line 2448
/mod/assign/locallib.php
->
line 2512
/backup/util/dbops/backup_controller_dbops.class.php
->
line 477
/backup/util/dbops/backup_controller_dbops.class.php
->
line 522
/mod/scorm/locallib.php
->
line 1105
/mod/scorm/locallib.php
->
line 1390
/competency/classes/competency.php
->
line 680
/mod/quiz/lib.php
->
line 1611
/mod/quiz/lib.php
->
line 1619
/admin/tool/xmldb/actions/check_foreign_keys/check_foreign_keys.class.php
->
line 133
/lib/tablelib.php
->
line 1984
/lib/tablelib.php
->
line 1997
/mod/forum/lib.php
->
line 1312
/mod/forum/lib.php
->
line 5134
/mod/forum/lib.php
->
line 6095
/mod/h5pactivity/tests/local/manager_test.php
->
line 667
/repository/lib.php
->
line 2991
/mod/quiz/report/overview/report.php
->
line 554
/admin/tool/generator/tests/maketestcourse_test.php
->
line 119
/competency/classes/course_competency.php
->
line 273
/admin/tool/lp/classes/external.php
->
line 895
/mod/quiz/report/statistics/report.php
->
line 783
/grade/report/history/tests/report_test.php
->
line 505
/lib/classes/plugininfo/enrol.php
->
line 109
/group/tests/privacy_provider_test.php
->
line 179
/group/tests/privacy_provider_test.php
->
line 186
/group/tests/privacy_provider_test.php
->
line 197
/group/tests/privacy_provider_test.php
->
line 204
/group/tests/privacy_provider_test.php
->
line 244
/group/tests/privacy_provider_test.php
->
line 251
/group/tests/privacy_provider_test.php
->
line 262
/group/tests/privacy_provider_test.php
->
line 269
/group/tests/privacy_provider_test.php
->
line 345
/group/tests/privacy_provider_test.php
->
line 352
/group/tests/privacy_provider_test.php
->
line 359
/group/tests/privacy_provider_test.php
->
line 366
/group/tests/privacy_provider_test.php
->
line 381
/group/tests/privacy_provider_test.php
->
line 388
/group/tests/privacy_provider_test.php
->
line 395
/group/tests/privacy_provider_test.php
->
line 402
/group/tests/privacy_provider_test.php
->
line 449
/group/tests/privacy_provider_test.php
->
line 456
/group/tests/privacy_provider_test.php
->
line 463
/group/tests/privacy_provider_test.php
->
line 470
/group/tests/privacy_provider_test.php
->
line 485
/group/tests/privacy_provider_test.php
->
line 492
/group/tests/privacy_provider_test.php
->
line 499
/group/tests/privacy_provider_test.php
->
line 506
/group/tests/privacy_provider_test.php
->
line 555
/group/tests/privacy_provider_test.php
->
line 562
/group/tests/privacy_provider_test.php
->
line 569
/group/tests/privacy_provider_test.php
->
line 576
/group/tests/privacy_provider_test.php
->
line 590
/group/tests/privacy_provider_test.php
->
line 597
/group/tests/privacy_provider_test.php
->
line 604
/group/tests/privacy_provider_test.php
->
line 611
/group/tests/privacy_provider_test.php
->
line 624
/group/tests/privacy_provider_test.php
->
line 631
/group/tests/privacy_provider_test.php
->
line 638
/group/tests/privacy_provider_test.php
->
line 645
/group/tests/privacy_provider_test.php
->
line 837
/group/tests/privacy_provider_test.php
->
line 844
/group/tests/privacy_provider_test.php
->
line 855
/group/tests/privacy_provider_test.php
->
line 862
/group/tests/privacy_provider_test.php
->
line 907
/group/tests/privacy_provider_test.php
->
line 914
/group/tests/privacy_provider_test.php
->
line 921
/group/tests/privacy_provider_test.php
->
line 928
/group/tests/privacy_provider_test.php
->
line 943
/group/tests/privacy_provider_test.php
->
line 950
/group/tests/privacy_provider_test.php
->
line 957
/group/tests/privacy_provider_test.php
->
line 964
/group/tests/privacy_provider_test.php
->
line 1009
/group/tests/privacy_provider_test.php
->
line 1016
/group/tests/privacy_provider_test.php
->
line 1036
/mod/forum/classes/local/vaults/discussion_list.php
->
line 501
/mod/forum/classes/local/vaults/discussion_list.php
->
line 542
/mod/feedback/classes/responses_table.php
->
line 359
/mod/feedback/classes/responses_table.php
->
line 390
/admin/tool/monitor/classes/subscription_manager.php
->
line 311
/admin/tool/monitor/classes/subscription_manager.php
->
line 351
/admin/tool/monitor/classes/subscription_manager.php
->
line 423
/question/classes/bank/view.php
->
line 470
/lib/statslib.php
->
line 226
/report/outline/locallib.php
->
line 134
/report/outline/locallib.php
->
line 160
/report/outline/locallib.php
->
line 215
/report/outline/locallib.php
->
line 239
/admin/tool/dataprivacy/classes/expired_context.php
->
line 175
/question/type/multianswer/edit_multianswer_form.php
->
line 75
/report/participation/index.php
->
line 200
/report/participation/index.php
->
line 205
/competency/classes/user_competency_plan.php
->
line 331
/lib/filestorage/file_storage.php
->
line 2011
/lib/filestorage/file_storage.php
->
line 2104
/auth/ldap/auth.php
->
line 788
/backup/util/structure/tests/structure_test.php
->
line 431
/backup/util/structure/tests/structure_test.php
->
line 432
/backup/util/structure/tests/structure_test.php
->
line 433
/lib/classes/check/access/riskxss_result.php
->
line 72
/course/lib.php
->
line 244
/course/lib.php
->
line 2663
/course/lib.php
->
line 2695
/admin/tool/lp/classes/output/template_plans_table.php
->
line 185
/competency/classes/template_competency.php
->
line 83
/competency/classes/template_competency.php
->
line 138
/competency/classes/template_competency.php
->
line 161
/message/classes/api.php
->
line 661
/message/classes/api.php
->
line 858
/message/classes/api.php
->
line 1005
/message/classes/api.php
->
line 1274
/message/classes/api.php
->
line 1389
/message/classes/api.php
->
line 1534
/message/classes/api.php
->
line 2406
/lib/classes/plugininfo/mod.php
->
line 141
/competency/classes/user_competency_course.php
->
line 253
/admin/roles/classes/potential_assignees_course_and_above.php
->
line 56
/enrol/locallib.php
->
line 181
/enrol/locallib.php
->
line 212
/enrol/locallib.php
->
line 453