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)
XMLDB_TYPE_CHAR
[
Top level directory
]
Constant Cross Reference
at:
/lib/xmldb/xmldb_constants.php
->
line 50
Referenced 280 times:
/lib/dml/tests/dml_test.php
->
line 557
/lib/dml/tests/dml_test.php
->
line 583
/lib/dml/tests/dml_test.php
->
line 587
/lib/dml/tests/dml_test.php
->
line 802
/lib/dml/tests/dml_test.php
->
line 806
/lib/dml/tests/dml_test.php
->
line 1027
/lib/dml/tests/dml_test.php
->
line 1118
/lib/dml/tests/dml_test.php
->
line 1272
/lib/dml/tests/dml_test.php
->
line 2134
/lib/dml/tests/dml_test.php
->
line 2209
/lib/dml/tests/dml_test.php
->
line 2488
/lib/dml/tests/dml_test.php
->
line 2661
/lib/dml/tests/dml_test.php
->
line 2869
/lib/dml/tests/dml_test.php
->
line 3057
/lib/dml/tests/dml_test.php
->
line 3163
/lib/dml/tests/dml_test.php
->
line 3361
/lib/dml/tests/dml_test.php
->
line 3887
/lib/dml/tests/dml_test.php
->
line 3940
/lib/dml/tests/dml_test.php
->
line 3997
/lib/dml/tests/dml_test.php
->
line 4062
/lib/dml/tests/dml_test.php
->
line 4100
/lib/dml/tests/dml_test.php
->
line 4101
/lib/dml/tests/dml_test.php
->
line 4156
/lib/dml/tests/dml_test.php
->
line 4232
/lib/dml/tests/dml_test.php
->
line 4428
/lib/dml/tests/dml_test.php
->
line 4508
/lib/dml/tests/dml_test.php
->
line 4515
/lib/dml/tests/dml_test.php
->
line 4594
/lib/dml/tests/dml_test.php
->
line 4674
/lib/dml/tests/dml_test.php
->
line 4675
/lib/dml/tests/dml_test.php
->
line 4676
/lib/dml/tests/dml_test.php
->
line 4709
/lib/dml/tests/dml_test.php
->
line 4710
/lib/dml/tests/dml_test.php
->
line 4750
/lib/dml/tests/dml_test.php
->
line 4751
/lib/dml/tests/dml_test.php
->
line 4794
/lib/dml/tests/dml_test.php
->
line 4840
/lib/dml/tests/dml_test.php
->
line 4870
/lib/dml/tests/dml_test.php
->
line 5019
/lib/dml/tests/dml_test.php
->
line 5022
/lib/dml/tests/dml_test.php
->
line 5617
/lib/dml/tests/dml_test.php
->
line 5707
/lib/dml/tests/dml_test.php
->
line 5965
/lib/dml/tests/dml_test.php
->
line 6056
/lib/ddl/sqlite_sql_generator.php
->
line 172
/admin/tool/xmldb/actions/check_oracle_semantics/check_oracle_semantics.class.php
->
line 69
/lib/ddl/database_manager.php
->
line 974
/lib/ddl/database_manager.php
->
line 1060
/admin/tool/usertours/db/upgrade.php
->
line 77
/backup/util/dbops/backup_controller_dbops.class.php
->
line 128
/backup/util/dbops/backup_controller_dbops.class.php
->
line 129
/backup/util/dbops/backup_controller_dbops.class.php
->
line 150
/backup/util/dbops/backup_controller_dbops.class.php
->
line 152
/backup/util/dbops/backup_controller_dbops.class.php
->
line 153
/auth/lti/db/upgrade.php
->
line 46
/auth/lti/db/upgrade.php
->
line 47
/auth/lti/db/upgrade.php
->
line 48
/admin/tool/xmldb/actions/check_defaults/check_defaults.class.php
->
line 70
/lib/ddl/sql_generator.php
->
line 582
/lib/ddl/sql_generator.php
->
line 596
/lib/xmldb/xmldb_constants.php
->
line 50
/lib/ddl/postgres_sql_generator.php
->
line 178
/lib/ddl/postgres_sql_generator.php
->
line 279
/lib/ddl/postgres_sql_generator.php
->
line 293
/auth/ldap/auth.php
->
line 681
/lib/ddl/mysql_sql_generator.php
->
line 159
/lib/ddl/mysql_sql_generator.php
->
line 446
/mod/lti/db/upgrade.php
->
line 74
/mod/lti/db/upgrade.php
->
line 84
/mod/lti/db/upgrade.php
->
line 118
/lib/xmldb/xmldb_field.php
->
line 253
/lib/xmldb/xmldb_field.php
->
line 312
/lib/xmldb/xmldb_field.php
->
line 426
/lib/xmldb/xmldb_field.php
->
line 462
/lib/xmldb/xmldb_field.php
->
line 563
/lib/xmldb/xmldb_field.php
->
line 589
/lib/xmldb/xmldb_field.php
->
line 642
/lib/xmldb/xmldb_field.php
->
line 643
/lib/xmldb/xmldb_field.php
->
line 718
/lib/xmldb/xmldb_field.php
->
line 737
/lib/xmldb/xmldb_field.php
->
line 825
/lib/xmldb/xmldb_field.php
->
line 827
/lib/dml/tests/pgsql_native_moodle_database_test.php
->
line 191
/lib/dml/tests/pgsql_native_moodle_database_test.php
->
line 296
/admin/tool/xmldb/actions/edit_field_save/edit_field_save.class.php
->
line 192
/lib/ddl/mssql_sql_generator.php
->
line 227
/lib/ddl/mssql_sql_generator.php
->
line 364
/lib/ddl/mssql_sql_generator.php
->
line 411
/lib/ddl/mssql_sql_generator.php
->
line 416
/lib/ddl/mssql_sql_generator.php
->
line 421
/lib/ddl/mssql_sql_generator.php
->
line 426
/lib/ddl/mssql_sql_generator.php
->
line 434
/lib/ddl/mssql_sql_generator.php
->
line 439
/lib/db/upgrade.php
->
line 146
/lib/db/upgrade.php
->
line 147
/lib/db/upgrade.php
->
line 192
/lib/db/upgrade.php
->
line 198
/lib/db/upgrade.php
->
line 199
/lib/db/upgrade.php
->
line 220
/lib/db/upgrade.php
->
line 221
/lib/db/upgrade.php
->
line 222
/lib/db/upgrade.php
->
line 252
/lib/db/upgrade.php
->
line 253
/lib/db/upgrade.php
->
line 379
/lib/db/upgrade.php
->
line 391
/lib/db/upgrade.php
->
line 688
/lib/db/upgrade.php
->
line 971
/lib/db/upgrade.php
->
line 983
/lib/db/upgrade.php
->
line 984
/lib/db/upgrade.php
->
line 985
/lib/db/upgrade.php
->
line 987
/lib/db/upgrade.php
->
line 1001
/lib/db/upgrade.php
->
line 1014
/lib/db/upgrade.php
->
line 1015
/lib/db/upgrade.php
->
line 1016
/lib/db/upgrade.php
->
line 1339
/lib/db/upgrade.php
->
line 1340
/lib/db/upgrade.php
->
line 1346
/lib/db/upgrade.php
->
line 1372
/lib/db/upgrade.php
->
line 1392
/lib/db/upgrade.php
->
line 1393
/lib/db/upgrade.php
->
line 1414
/lib/db/upgrade.php
->
line 1434
/lib/db/upgrade.php
->
line 1644
/lib/db/upgrade.php
->
line 1645
/lib/db/upgrade.php
->
line 1698
/lib/db/upgrade.php
->
line 1810
/lib/db/upgrade.php
->
line 1999
/lib/db/upgrade.php
->
line 2014
/lib/db/upgrade.php
->
line 2025
/lib/db/upgrade.php
->
line 2096
/lib/db/upgrade.php
->
line 2268
/lib/db/upgrade.php
->
line 2301
/lib/db/upgrade.php
->
line 2302
/lib/db/upgrade.php
->
line 2323
/lib/db/upgrade.php
->
line 2343
/lib/db/upgrade.php
->
line 2344
/lib/db/upgrade.php
->
line 2347
/lib/db/upgrade.php
->
line 2348
/lib/db/upgrade.php
->
line 2350
/lib/db/upgrade.php
->
line 2486
/lib/db/upgrade.php
->
line 2567
/lib/db/upgrade.php
->
line 2671
/lib/db/upgrade.php
->
line 2684
/lib/db/upgrade.php
->
line 2687
/lib/db/upgrade.php
->
line 2688
/lib/db/upgrade.php
->
line 2943
/lib/db/upgrade.php
->
line 2960
/lib/db/upgrade.php
->
line 2961
/lib/db/upgrade.php
->
line 2962
/lib/db/upgrade.php
->
line 2989
/lib/db/upgrade.php
->
line 2990
/lib/db/upgrade.php
->
line 3097
/lib/db/upgrade.php
->
line 3277
/lib/db/upgrade.php
->
line 3296
/lib/db/upgrade.php
->
line 3299
/lib/db/upgrade.php
->
line 3300
/lib/db/upgrade.php
->
line 3343
/lib/db/upgrade.php
->
line 3345
/lib/db/upgrade.php
->
line 3346
/lib/db/upgrade.php
->
line 3347
/lib/db/upgrade.php
->
line 3348
/lib/db/upgrade.php
->
line 3368
/lib/db/upgrade.php
->
line 3369
/lib/db/upgrade.php
->
line 3390
/lib/db/upgrade.php
->
line 3454
/lib/db/upgrade.php
->
line 3475
/lib/db/upgrade.php
->
line 3476
/lib/db/upgrade.php
->
line 3497
/lib/db/upgrade.php
->
line 3498
/lib/db/upgrade.php
->
line 3844
/lib/db/upgrade.php
->
line 3873
/lib/db/upgrade.php
->
line 3891
/lib/db/upgrade.php
->
line 3892
/lib/db/upgrade.php
->
line 3913
/lib/db/upgrade.php
->
line 3914
/lib/db/upgrade.php
->
line 4318
/lib/db/upgrade.php
->
line 4321
/lib/db/upgrade.php
->
line 4324
/lib/db/upgrade.php
->
line 4327
/enrol/database/tests/sync_test.php
->
line 132
/enrol/database/tests/sync_test.php
->
line 133
/enrol/database/tests/sync_test.php
->
line 134
/enrol/database/tests/sync_test.php
->
line 135
/enrol/database/tests/sync_test.php
->
line 149
/enrol/database/tests/sync_test.php
->
line 150
/enrol/database/tests/sync_test.php
->
line 151
/enrol/database/tests/sync_test.php
->
line 152
/lib/xmldb/xmldb_index.php
->
line 364
/lib/xmldb/xmldb_index.php
->
line 366
/mod/bigbluebuttonbn/db/upgrade.php
->
line 166
/mod/bigbluebuttonbn/db/upgrade.php
->
line 322
/lib/ddl/oracle_sql_generator.php
->
line 246
/lib/ddl/oracle_sql_generator.php
->
line 462
/lib/ddl/oracle_sql_generator.php
->
line 476
/enrol/lti/db/upgrade.php
->
line 74
/enrol/lti/db/upgrade.php
->
line 76
/enrol/lti/db/upgrade.php
->
line 77
/enrol/lti/db/upgrade.php
->
line 104
/enrol/lti/db/upgrade.php
->
line 113
/enrol/lti/db/upgrade.php
->
line 132
/enrol/lti/db/upgrade.php
->
line 133
/enrol/lti/db/upgrade.php
->
line 180
/enrol/lti/db/upgrade.php
->
line 184
/enrol/lti/db/upgrade.php
->
line 185
/enrol/lti/db/upgrade.php
->
line 186
/enrol/lti/db/upgrade.php
->
line 187
/enrol/lti/db/upgrade.php
->
line 188
/enrol/lti/db/upgrade.php
->
line 189
/enrol/lti/db/upgrade.php
->
line 190
/enrol/lti/db/upgrade.php
->
line 217
/enrol/lti/db/upgrade.php
->
line 265
/enrol/lti/db/upgrade.php
->
line 281
/enrol/lti/db/upgrade.php
->
line 330
/enrol/lti/db/upgrade.php
->
line 344
/enrol/lti/db/upgrade.php
->
line 379
/enrol/lti/db/upgrade.php
->
line 402
/enrol/lti/db/upgrade.php
->
line 423
/mod/h5pactivity/db/upgrade.php
->
line 103
/mod/h5pactivity/db/upgrade.php
->
line 105
/mod/lti/service/gradebookservices/db/upgrade.php
->
line 65
/lib/dml/tests/pgsql_native_recordset_test.php
->
line 77
/lib/statslib.php
->
line 1601
/lib/statslib.php
->
line 1618
/lib/statslib.php
->
line 1643
/auth/db/tests/db_test.php
->
line 126
/auth/db/tests/db_test.php
->
line 127
/auth/db/tests/db_test.php
->
line 128
/auth/db/tests/db_test.php
->
line 129
/auth/db/tests/db_test.php
->
line 130
/auth/db/tests/db_test.php
->
line 131
/admin/tool/xmldb/actions/edit_field/edit_field.class.php
->
line 136
/admin/tool/xmldb/actions/edit_field/edit_field.class.php
->
line 136
/lib/tests/persistent_test.php
->
line 52
/lib/tests/persistent_test.php
->
line 53
/lib/tests/persistent_test.php
->
line 57
/lib/tests/persistent_test.php
->
line 86
/lib/dml/tests/dml_table_test.php
->
line 55
/lib/dml/tests/dml_table_test.php
->
line 111
/lib/dml/tests/dml_table_test.php
->
line 130
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 148
/lib/dml/tests/dml_pgsql_read_slave_test.php
->
line 163
/lib/ddl/tests/ddl_test.php
->
line 49
/lib/ddl/tests/ddl_test.php
->
line 50
/lib/ddl/tests/ddl_test.php
->
line 94
/lib/ddl/tests/ddl_test.php
->
line 95
/lib/ddl/tests/ddl_test.php
->
line 96
/lib/ddl/tests/ddl_test.php
->
line 573
/lib/ddl/tests/ddl_test.php
->
line 605
/lib/ddl/tests/ddl_test.php
->
line 628
/lib/ddl/tests/ddl_test.php
->
line 631
/lib/ddl/tests/ddl_test.php
->
line 877
/lib/ddl/tests/ddl_test.php
->
line 1022
/lib/ddl/tests/ddl_test.php
->
line 1036
/lib/ddl/tests/ddl_test.php
->
line 1054
/lib/ddl/tests/ddl_test.php
->
line 1090
/lib/ddl/tests/ddl_test.php
->
line 1181
/lib/ddl/tests/ddl_test.php
->
line 1189
/lib/ddl/tests/ddl_test.php
->
line 1268
/lib/ddl/tests/ddl_test.php
->
line 1284
/lib/ddl/tests/ddl_test.php
->
line 1293
/lib/ddl/tests/ddl_test.php
->
line 1314
/lib/ddl/tests/ddl_test.php
->
line 1319
/lib/ddl/tests/ddl_test.php
->
line 1350
/lib/ddl/tests/ddl_test.php
->
line 1402
/lib/ddl/tests/ddl_test.php
->
line 1416
/lib/ddl/tests/ddl_test.php
->
line 1556
/lib/ddl/tests/ddl_test.php
->
line 1763
/lib/ddl/tests/ddl_test.php
->
line 1769
/lib/ddl/tests/ddl_test.php
->
line 1959
/lib/ddl/tests/ddl_test.php
->
line 1960
/lib/ddl/tests/ddl_test.php
->
line 1986
/lib/ddl/tests/ddl_test.php
->
line 2008
/lib/ddl/tests/ddl_test.php
->
line 2033
/lib/ddl/tests/ddl_test.php
->
line 2060
/lib/ddl/tests/ddl_test.php
->
line 2061
/lib/ddl/tests/ddl_test.php
->
line 2086
/lib/ddl/tests/ddl_test.php
->
line 2087
/lib/ddl/tests/ddl_test.php
->
line 2110
/lib/ddl/tests/ddl_test.php
->
line 2161