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)
purpose
[
Top level directory
]
Variable Cross Reference
at:
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 174
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 177
/user/editadvanced_form.php
->
line 100
/user/editadvanced_form.php
->
line 122
/user/classes/fields.php
->
line 67
/admin/tool/dataprivacy/editpurpose.php
->
line 40
/admin/tool/dataprivacy/editpurpose.php
->
line 51
/admin/tool/dataprivacy/editpurpose.php
->
line 54
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 190
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 202
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 281
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 377
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 63
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 1907
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 1946
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 1984
/admin/tool/dataprivacy/defaults.php
->
line 38
/admin/tool/dataprivacy/tests/api_test.php
->
line 1001
/admin/tool/dataprivacy/tests/api_test.php
->
line 1015
/admin/tool/dataprivacy/tests/api_test.php
->
line 1019
/admin/tool/dataprivacy/tests/api_test.php
->
line 2036
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 75
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 114
/admin/tool/dataprivacy/tests/expired_data_requests_test.php
->
line 174
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 297
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 300
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 926
/calendar/classes/external/event_exporter_base.php
->
line 334
/calendar/classes/external/event_exporter_base.php
->
line 336
/admin/tool/dataprivacy/classes/form/purpose.php
->
line 126
/admin/tool/dataprivacy/classes/form/purpose.php
->
line 563
/login/forgot_password_form.php
->
line 55
/login/forgot_password_form.php
->
line 64
/user/lib.php
->
line 1368
/user/lib.php
->
line 1371
/course/classes/local/repository/content_item_readonly_repository.php
->
line 98
/course/classes/local/repository/content_item_readonly_repository.php
->
line 206
/course/classes/local/repository/content_item_readonly_repository.php
->
line 271
/user/language_form.php
->
line 61
/admin/tool/dataprivacy/classes/api.php
->
line 899
/admin/tool/dataprivacy/classes/api.php
->
line 916
/admin/tool/dataprivacy/classes/api.php
->
line 931
/admin/tool/dataprivacy/classes/api.php
->
line 1189
/admin/tool/dataprivacy/classes/external.php
->
line 798
/admin/tool/dataprivacy/classes/external.php
->
line 803
/admin/tool/dataprivacy/classes/external.php
->
line 1365
/admin/tool/dataprivacy/tests/generator/lib.php
->
line 111
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 54
/user/editlib.php
->
line 264
/user/editlib.php
->
line 278
/user/editlib.php
->
line 290
/user/editlib.php
->
line 316
/user/editlib.php
->
line 335
/user/editlib.php
->
line 384
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 140
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 276
/admin/tool/dataprivacy/classes/form/contextlevel.php
->
line 111
/admin/tool/dataprivacy/classes/external/purpose_exporter.php
->
line 154
/admin/tool/dataprivacy/classes/external/category_exporter.php
->
line 72
/login/change_password_form.php
->
line 56
/admin/tool/dataprivacy/tests/external/external_test.php
->
line 680
/admin/tool/dataprivacy/tests/external/external_test.php
->
line 732
Referenced 263 times:
/backup/util/dbops/restore_controller_dbops.class.php
->
line 67
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 149
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 150
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 150
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 174
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 177
/admin/tool/dataprivacy/classes/form/context_instance.php
->
line 181
/user/editadvanced_form.php
->
line 100
/user/editadvanced_form.php
->
line 101
/user/editadvanced_form.php
->
line 122
/user/editadvanced_form.php
->
line 123
/user/classes/fields.php
->
line 67
/user/classes/fields.php
->
line 73
/user/classes/fields.php
->
line 74
/user/classes/fields.php
->
line 288
/user/classes/fields.php
->
line 289
/user/classes/fields.php
->
line 289
/user/classes/fields.php
->
line 297
/user/classes/fields.php
->
line 298
/backup/util/dbops/backup_controller_dbops.class.php
->
line 77
/admin/tool/dataprivacy/editpurpose.php
->
line 40
/admin/tool/dataprivacy/editpurpose.php
->
line 42
/admin/tool/dataprivacy/editpurpose.php
->
line 51
/admin/tool/dataprivacy/editpurpose.php
->
line 54
/admin/tool/dataprivacy/editpurpose.php
->
line 59
/admin/tool/dataprivacy/editpurpose.php
->
line 68
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 190
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 192
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 202
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 209
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 213
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 218
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 281
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 377
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 378
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 380
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 381
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php
->
line 381
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 63
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 68
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 75
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 84
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 87
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 1907
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 1913
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 1946
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 1951
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 1984
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 1986
/admin/tool/dataprivacy/defaults.php
->
line 38
/admin/tool/dataprivacy/defaults.php
->
line 65
/admin/tool/dataprivacy/tests/api_test.php
->
line 1001
/admin/tool/dataprivacy/tests/api_test.php
->
line 1008
/admin/tool/dataprivacy/tests/api_test.php
->
line 1009
/admin/tool/dataprivacy/tests/api_test.php
->
line 1010
/admin/tool/dataprivacy/tests/api_test.php
->
line 1011
/admin/tool/dataprivacy/tests/api_test.php
->
line 1014
/admin/tool/dataprivacy/tests/api_test.php
->
line 1015
/admin/tool/dataprivacy/tests/api_test.php
->
line 1015
/admin/tool/dataprivacy/tests/api_test.php
->
line 1016
/admin/tool/dataprivacy/tests/api_test.php
->
line 1019
/admin/tool/dataprivacy/tests/api_test.php
->
line 1329
/admin/tool/dataprivacy/tests/api_test.php
->
line 1330
/admin/tool/dataprivacy/tests/api_test.php
->
line 1331
/admin/tool/dataprivacy/tests/api_test.php
->
line 1332
/admin/tool/dataprivacy/tests/api_test.php
->
line 1333
/admin/tool/dataprivacy/tests/api_test.php
->
line 1334
/admin/tool/dataprivacy/tests/api_test.php
->
line 1335
/admin/tool/dataprivacy/tests/api_test.php
->
line 1336
/admin/tool/dataprivacy/tests/api_test.php
->
line 1337
/admin/tool/dataprivacy/tests/api_test.php
->
line 1338
/admin/tool/dataprivacy/tests/api_test.php
->
line 1339
/admin/tool/dataprivacy/tests/api_test.php
->
line 1340
/admin/tool/dataprivacy/tests/api_test.php
->
line 1341
/admin/tool/dataprivacy/tests/api_test.php
->
line 1342
/admin/tool/dataprivacy/tests/api_test.php
->
line 1343
/admin/tool/dataprivacy/tests/api_test.php
->
line 1344
/admin/tool/dataprivacy/tests/api_test.php
->
line 1366
/admin/tool/dataprivacy/tests/api_test.php
->
line 1367
/admin/tool/dataprivacy/tests/api_test.php
->
line 1368
/admin/tool/dataprivacy/tests/api_test.php
->
line 1369
/admin/tool/dataprivacy/tests/api_test.php
->
line 1370
/admin/tool/dataprivacy/tests/api_test.php
->
line 1371
/admin/tool/dataprivacy/tests/api_test.php
->
line 1372
/admin/tool/dataprivacy/tests/api_test.php
->
line 1373
/admin/tool/dataprivacy/tests/api_test.php
->
line 1374
/admin/tool/dataprivacy/tests/api_test.php
->
line 1375
/admin/tool/dataprivacy/tests/api_test.php
->
line 1376
/admin/tool/dataprivacy/tests/api_test.php
->
line 1377
/admin/tool/dataprivacy/tests/api_test.php
->
line 1378
/admin/tool/dataprivacy/tests/api_test.php
->
line 1379
/admin/tool/dataprivacy/tests/api_test.php
->
line 1380
/admin/tool/dataprivacy/tests/api_test.php
->
line 1396
/admin/tool/dataprivacy/tests/api_test.php
->
line 1413
/admin/tool/dataprivacy/tests/api_test.php
->
line 1415
/admin/tool/dataprivacy/tests/api_test.php
->
line 1457
/admin/tool/dataprivacy/tests/api_test.php
->
line 1459
/admin/tool/dataprivacy/tests/api_test.php
->
line 1500
/admin/tool/dataprivacy/tests/api_test.php
->
line 1502
/admin/tool/dataprivacy/tests/api_test.php
->
line 1543
/admin/tool/dataprivacy/tests/api_test.php
->
line 1545
/admin/tool/dataprivacy/tests/api_test.php
->
line 1606
/admin/tool/dataprivacy/tests/api_test.php
->
line 1607
/admin/tool/dataprivacy/tests/api_test.php
->
line 1608
/admin/tool/dataprivacy/tests/api_test.php
->
line 1609
/admin/tool/dataprivacy/tests/api_test.php
->
line 1610
/admin/tool/dataprivacy/tests/api_test.php
->
line 1624
/admin/tool/dataprivacy/tests/api_test.php
->
line 1625
/admin/tool/dataprivacy/tests/api_test.php
->
line 1626
/admin/tool/dataprivacy/tests/api_test.php
->
line 1627
/admin/tool/dataprivacy/tests/api_test.php
->
line 1628
/admin/tool/dataprivacy/tests/api_test.php
->
line 1642
/admin/tool/dataprivacy/tests/api_test.php
->
line 1643
/admin/tool/dataprivacy/tests/api_test.php
->
line 1644
/admin/tool/dataprivacy/tests/api_test.php
->
line 1645
/admin/tool/dataprivacy/tests/api_test.php
->
line 1646
/admin/tool/dataprivacy/tests/api_test.php
->
line 1660
/admin/tool/dataprivacy/tests/api_test.php
->
line 1661
/admin/tool/dataprivacy/tests/api_test.php
->
line 1662
/admin/tool/dataprivacy/tests/api_test.php
->
line 1663
/admin/tool/dataprivacy/tests/api_test.php
->
line 1664
/admin/tool/dataprivacy/tests/api_test.php
->
line 2036
/admin/tool/dataprivacy/tests/api_test.php
->
line 2041
/admin/tool/dataprivacy/tests/api_test.php
->
line 2048
/admin/tool/dataprivacy/tests/api_test.php
->
line 2057
/admin/tool/dataprivacy/tests/api_test.php
->
line 2061
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 75
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 76
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 114
/admin/tool/dataprivacy/classes/output/summary_page.php
->
line 115
/backup/util/helper/async_helper.class.php
->
line 246
/admin/tool/dataprivacy/classes/output/data_registry_page.php
->
line 430
/admin/tool/dataprivacy/classes/output/data_registry_page.php
->
line 431
/admin/tool/dataprivacy/classes/output/data_registry_page.php
->
line 431
/admin/tool/dataprivacy/tests/expired_data_requests_test.php
->
line 174
/admin/tool/dataprivacy/tests/expired_data_requests_test.php
->
line 179
/admin/tool/dataprivacy/tests/expired_data_requests_test.php
->
line 185
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 297
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 300
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 304
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 306
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 321
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 581
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 582
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 590
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 593
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 611
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 619
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 926
/admin/tool/dataprivacy/classes/expired_contexts_manager.php
->
line 927
/admin/tool/dataprivacy/classes/purpose_override.php
->
line 91
/admin/tool/dataprivacy/classes/purpose_override.php
->
line 95
/admin/tool/dataprivacy/classes/purpose_override.php
->
line 98
/admin/tool/dataprivacy/classes/purpose_override.php
->
line 102
/user/tests/behat/behat_user.php
->
line 62
/user/tests/behat/behat_user.php
->
line 66
/user/tests/behat/behat_user.php
->
line 67
/user/tests/behat/behat_user.php
->
line 79
/user/tests/behat/behat_user.php
->
line 83
/user/tests/behat/behat_user.php
->
line 84
/calendar/classes/external/event_exporter_base.php
->
line 334
/calendar/classes/external/event_exporter_base.php
->
line 336
/calendar/classes/external/event_exporter_base.php
->
line 338
/admin/tool/dataprivacy/classes/form/purpose.php
->
line 126
/admin/tool/dataprivacy/classes/form/purpose.php
->
line 128
/admin/tool/dataprivacy/classes/form/purpose.php
->
line 209
/admin/tool/dataprivacy/classes/form/purpose.php
->
line 563
/login/forgot_password_form.php
->
line 55
/login/forgot_password_form.php
->
line 56
/login/forgot_password_form.php
->
line 64
/login/forgot_password_form.php
->
line 65
/user/lib.php
->
line 1368
/user/lib.php
->
line 1371
/user/lib.php
->
line 1374
/course/classes/local/repository/content_item_readonly_repository.php
->
line 98
/course/classes/local/repository/content_item_readonly_repository.php
->
line 100
/course/classes/local/repository/content_item_readonly_repository.php
->
line 206
/course/classes/local/repository/content_item_readonly_repository.php
->
line 217
/course/classes/local/repository/content_item_readonly_repository.php
->
line 271
/course/classes/local/repository/content_item_readonly_repository.php
->
line 290
/user/language_form.php
->
line 61
/user/language_form.php
->
line 63
/course/classes/local/entity/content_item.php
->
line 61
/course/classes/local/entity/content_item.php
->
line 77
/course/classes/local/entity/content_item.php
->
line 86
/course/classes/local/entity/content_item.php
->
line 86
/course/classes/local/entity/content_item.php
->
line 166
/admin/tool/dataprivacy/classes/api.php
->
line 899
/admin/tool/dataprivacy/classes/api.php
->
line 900
/admin/tool/dataprivacy/classes/api.php
->
line 902
/admin/tool/dataprivacy/classes/api.php
->
line 916
/admin/tool/dataprivacy/classes/api.php
->
line 917
/admin/tool/dataprivacy/classes/api.php
->
line 919
/admin/tool/dataprivacy/classes/api.php
->
line 921
/admin/tool/dataprivacy/classes/api.php
->
line 931
/admin/tool/dataprivacy/classes/api.php
->
line 932
/admin/tool/dataprivacy/classes/api.php
->
line 935
/admin/tool/dataprivacy/classes/api.php
->
line 1189
/admin/tool/dataprivacy/classes/external.php
->
line 798
/admin/tool/dataprivacy/classes/external.php
->
line 799
/admin/tool/dataprivacy/classes/external.php
->
line 803
/admin/tool/dataprivacy/classes/external.php
->
line 809
/admin/tool/dataprivacy/classes/external.php
->
line 1353
/admin/tool/dataprivacy/classes/external.php
->
line 1359
/admin/tool/dataprivacy/classes/external.php
->
line 1365
/admin/tool/dataprivacy/classes/external.php
->
line 1375
/admin/tool/dataprivacy/classes/external.php
->
line 1570
/admin/tool/dataprivacy/classes/external.php
->
line 1572
/backup/util/helper/copy_helper.class.php
->
line 237
/backup/util/helper/copy_helper.class.php
->
line 272
/admin/tool/dataprivacy/tests/generator/lib.php
->
line 111
/admin/tool/dataprivacy/tests/generator/lib.php
->
line 113
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 54
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 71
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 74
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 74
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 130
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 131
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 131
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 140
/admin/tool/dataprivacy/classes/output/defaults_page.php
->
line 150
/user/editlib.php
->
line 264
/user/editlib.php
->
line 265
/user/editlib.php
->
line 278
/user/editlib.php
->
line 279
/user/editlib.php
->
line 290
/user/editlib.php
->
line 291
/user/editlib.php
->
line 316
/user/editlib.php
->
line 319
/user/editlib.php
->
line 335
/user/editlib.php
->
line 337
/user/editlib.php
->
line 384
/user/editlib.php
->
line 385
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 138
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 140
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 140
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 144
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 158
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 169
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 181
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 193
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 207
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 231
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 244
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 263
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 276
/admin/tool/dataprivacy/tests/behat/behat_tool_dataprivacy.php
->
line 280
/admin/tool/dataprivacy/classes/form/contextlevel.php
->
line 111
/admin/tool/dataprivacy/classes/form/contextlevel.php
->
line 114
/admin/tool/dataprivacy/classes/external/purpose_exporter.php
->
line 154
/admin/tool/dataprivacy/classes/external/purpose_exporter.php
->
line 156
/admin/tool/dataprivacy/classes/external/category_exporter.php
->
line 72
/admin/tool/dataprivacy/classes/external/category_exporter.php
->
line 74
/admin/tool/dataprivacy/classes/output/purposes.php
->
line 77
/admin/tool/dataprivacy/classes/output/purposes.php
->
line 78
/admin/tool/dataprivacy/classes/output/purposes.php
->
line 81
/login/change_password_form.php
->
line 56
/login/change_password_form.php
->
line 57
/admin/tool/dataprivacy/tests/external/external_test.php
->
line 680
/admin/tool/dataprivacy/tests/external/external_test.php
->
line 684
/admin/tool/dataprivacy/tests/external/external_test.php
->
line 685
/admin/tool/dataprivacy/tests/external/external_test.php
->
line 732
/admin/tool/dataprivacy/tests/external/external_test.php
->
line 736