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)
addrule
[
Top level directory
]
Function and Method Cross Reference
at:
/lib/pear/HTML/QuickForm.php
->
line 1024
/lib/formslib.php
->
line 2220
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFilter/Column.php
->
line 314
/lib/php-css-parser/RuleSet/RuleSet.php
->
line 69
Referenced 421 times:
/lib/pear/HTML/QuickForm.php
->
line 1046
/lib/pear/HTML/QuickForm.php
->
line 1050
/lib/pear/HTML/QuickForm.php
->
line 1056
/mod/glossary/mod_form.php
->
line 24
/mod/glossary/mod_form.php
->
line 25
/mod/glossary/mod_form.php
->
line 88
/admin/tool/policy/classes/form/policydoc.php
->
line 54
/admin/tool/policy/classes/form/policydoc.php
->
line 55
/admin/tool/policy/classes/form/policydoc.php
->
line 82
/admin/tool/policy/classes/form/policydoc.php
->
line 86
/admin/tool/policy/classes/form/policydoc.php
->
line 90
/mod/workshop/submission_form.php
->
line 44
/mod/workshop/submission_form.php
->
line 45
/mod/workshop/submission_form.php
->
line 51
/mod/workshop/submission_form.php
->
line 60
/course/edit_form.php
->
line 60
/course/edit_form.php
->
line 69
/course/edit_form.php
->
line 81
/course/edit_form.php
->
line 98
/mod/survey/mod_form.php
->
line 26
/mod/survey/mod_form.php
->
line 37
/user/editadvanced_form.php
->
line 193
/admin/tool/dataprivacy/classes/form/category.php
->
line 52
/admin/tool/dataprivacy/classes/form/category.php
->
line 53
/admin/tool/installaddon/classes/installfromzip_form.php
->
line 52
/admin/tool/installaddon/classes/installfromzip_form.php
->
line 80
/admin/tool/installaddon/classes/installfromzip_form.php
->
line 97
/admin/tool/lpimportcsv/classes/form/export.php
->
line 62
/lib/formslib.php
->
line 2237
/grade/import/direct/classes/import_form.php
->
line 55
/admin/tool/lp/classes/form/competency.php
->
line 101
/admin/tool/lp/classes/form/competency.php
->
line 102
/admin/tool/lp/classes/form/competency.php
->
line 110
/admin/tool/lp/classes/form/competency.php
->
line 111
/mod/lesson/locallib.php
->
line 1379
/mod/lesson/locallib.php
->
line 1389
/mod/lesson/locallib.php
->
line 1482
/mod/lesson/locallib.php
->
line 1508
/mod/imscp/mod_form.php
->
line 55
/mod/imscp/mod_form.php
->
line 56
/notes/edit_form.php
->
line 34
/question/type/edit_question_form.php
->
line 183
/question/type/edit_question_form.php
->
line 188
/question/type/edit_question_form.php
->
line 193
/login/set_password_form.php
->
line 74
/login/set_password_form.php
->
line 79
/mod/lesson/import_form.php
->
line 48
/mod/lesson/import_form.php
->
line 52
/enrol/users_forms.php
->
line 103
/mod/quiz/accessrule/seb/classes/local/form/template.php
->
line 48
/mod/quiz/accessrule/seb/classes/local/form/template.php
->
line 56
/mod/quiz/accessrule/seb/classes/local/form/template.php
->
line 59
/admin/tool/oauth2/classes/form/user_field_mapping.php
->
line 57
/admin/tool/oauth2/classes/form/user_field_mapping.php
->
line 58
/lib/form/modgrade.php
->
line 473
/lib/form/modgrade.php
->
line 474
/lib/form/modgrade.php
->
line 475
/lib/form/modgrade.php
->
line 476
/lib/form/modgrade.php
->
line 477
/lib/form/modgrade.php
->
line 478
/mod/book/mod_form.php
->
line 47
/mod/book/mod_form.php
->
line 48
/mod/forum/classes/post_form.php
->
line 116
/mod/forum/classes/post_form.php
->
line 117
/mod/forum/classes/post_form.php
->
line 121
/repository/youtube/lib.php
->
line 327
/repository/skydrive/lib.php
->
line 172
/repository/skydrive/lib.php
->
line 173
/calendar/classes/local/event/forms/managesubscriptions.php
->
line 54
/badges/criteria/award_criteria_courseset.php
->
line 85
/question/category_form.php
->
line 58
/portfolio/googledocs/lib.php
->
line 227
/portfolio/googledocs/lib.php
->
line 228
/mod/book/tool/importhtml/import_form.php
->
line 47
/repository/equella/lib.php
->
line 270
/repository/equella/lib.php
->
line 286
/repository/equella/lib.php
->
line 290
/mod/scorm/mod_form.php
->
line 45
/mod/scorm/mod_form.php
->
line 46
/repository/flickr/lib.php
->
line 351
/repository/flickr/lib.php
->
line 352
/group/autogroup_form.php
->
line 54
/group/autogroup_form.php
->
line 69
/group/autogroup_form.php
->
line 70
/mod/workshop/form/assessment_form.php
->
line 74
/admin/tool/lpimportcsv/classes/form/import.php
->
line 56
/admin/tool/usertours/classes/local/forms/editstep.php
->
line 78
/admin/tool/usertours/classes/local/forms/editstep.php
->
line 83
/grade/edit/tree/outcomeitem_form.php
->
line 41
/grade/edit/tree/outcomeitem_form.php
->
line 62
/user/profile/field/checkbox/field.class.php
->
line 45
/mod/data/export_form.php
->
line 47
/calendar/event_form.php
->
line 70
/calendar/event_form.php
->
line 108
/calendar/event_form.php
->
line 115
/mod/wiki/create_form.php
->
line 48
/mod/wiki/create_form.php
->
line 65
/repository/picasa/lib.php
->
line 126
/repository/picasa/lib.php
->
line 127
/search/classes/output/form/search.php
->
line 59
/mod/assign/mod_form.php
->
line 56
/mod/assign/mod_form.php
->
line 57
/user/profile/lib.php
->
line 268
/repository/nextcloud/lib.php
->
line 698
/mod/workshop/form/comments/assessment_form.php
->
line 75
/mod/lti/mod_form.php
->
line 90
/mod/lti/mod_form.php
->
line 91
/mod/wiki/comments_form.php
->
line 18
/blocks/rss_client/editfeed.php
->
line 50
/admin/tool/customlang/classes/form/export.php
->
line 63
/mod/lti/register_form.php
->
line 57
/mod/lti/register_form.php
->
line 64
/mod/lti/register_form.php
->
line 75
/mod/lti/register_form.php
->
line 88
/badges/classes/form/message.php
->
line 68
/badges/classes/form/message.php
->
line 69
/badges/classes/form/message.php
->
line 73
/mod/feedback/item/textfield/textfield_form.php
->
line 51
/blog/edit_form.php
->
line 47
/blog/edit_form.php
->
line 48
/blog/edit_form.php
->
line 51
/mod/url/mod_form.php
->
line 46
/mod/url/mod_form.php
->
line 47
/mod/url/mod_form.php
->
line 50
/admin/tool/cohortroles/classes/form/assign_role_cohort.php
->
line 63
/admin/tool/cohortroles/classes/form/assign_role_cohort.php
->
line 72
/admin/tool/cohortroles/classes/form/assign_role_cohort.php
->
line 82
/mod/data/preset_form.php
->
line 36
/mod/data/preset_form.php
->
line 61
/blocks/rss_client/edit_form.php
->
line 43
/grade/edit/scale/edit_form.php
->
line 40
/grade/edit/scale/edit_form.php
->
line 50
/question/import_form.php
->
line 67
/question/import_form.php
->
line 99
/admin/tool/lpmigrate/classes/form/migrate_framework.php
->
line 63
/admin/tool/lpmigrate/classes/form/migrate_framework.php
->
line 70
/backup/util/ui/backup_moodleform.class.php
->
line 105
/h5p/classes/form/uploadlibraries_form.php
->
line 53
/enrol/self/lib.php
->
line 735
/enrol/self/lib.php
->
line 750
/enrol/self/lib.php
->
line 752
/repository/boxnet/lib.php
->
line 327
/repository/boxnet/lib.php
->
line 332
/mod/feedback/classes/complete_form.php
->
line 321
/mod/feedback/classes/complete_form.php
->
line 517
/admin/tool/uploadcourse/classes/step1_form.php
->
line 48
/user/profile/definelib.php
->
line 58
/user/profile/definelib.php
->
line 62
/admin/tool/usertours/classes/local/forms/edittour.php
->
line 68
/badges/alignment_form.php
->
line 50
/badges/alignment_form.php
->
line 51
/badges/alignment_form.php
->
line 55
/badges/alignment_form.php
->
line 56
/badges/alignment_form.php
->
line 60
/badges/alignment_form.php
->
line 64
/admin/tool/oauth2/classes/form/issuer.php
->
line 100
/admin/tool/oauth2/classes/form/issuer.php
->
line 101
/admin/tool/oauth2/classes/form/issuer.php
->
line 106
/admin/tool/oauth2/classes/form/issuer.php
->
line 107
/admin/tool/oauth2/classes/form/issuer.php
->
line 112
/admin/tool/oauth2/classes/form/issuer.php
->
line 113
/admin/tool/oauth2/classes/form/issuer.php
->
line 122
/admin/tool/oauth2/classes/form/issuer.php
->
line 123
/admin/tool/oauth2/classes/form/issuer.php
->
line 128
/admin/tool/oauth2/classes/form/issuer.php
->
line 129
/admin/tool/oauth2/classes/form/issuer.php
->
line 134
/admin/tool/oauth2/classes/form/issuer.php
->
line 139
/admin/tool/oauth2/classes/form/issuer.php
->
line 144
/admin/tool/oauth2/classes/form/issuer.php
->
line 147
/admin/tool/oauth2/classes/form/issuer.php
->
line 152
/admin/tool/oauth2/classes/form/issuer.php
->
line 157
/admin/tool/dbtransfer/database_transfer_form.php
->
line 82
/admin/tool/dbtransfer/database_transfer_form.php
->
line 83
/admin/tool/dbtransfer/database_transfer_form.php
->
line 84
/admin/tool/dbtransfer/database_transfer_form.php
->
line 85
/admin/tool/dbtransfer/database_transfer_form.php
->
line 86
/admin/tool/dbtransfer/database_transfer_form.php
->
line 88
/mod/assign/feedback/file/uploadzipform.php
->
line 55
/user/profile/index_category_form.php
->
line 57
/mod/folder/mod_form.php
->
line 45
/mod/folder/mod_form.php
->
line 46
/admin/tool/lp/classes/form/user_evidence.php
->
line 55
/admin/tool/lp/classes/form/user_evidence.php
->
line 56
/lib/php-css-parser/RuleSet/DeclarationBlock.php
->
line 156
/lib/php-css-parser/RuleSet/DeclarationBlock.php
->
line 212
/lib/php-css-parser/RuleSet/DeclarationBlock.php
->
line 277
/lib/php-css-parser/RuleSet/DeclarationBlock.php
->
line 311
/lib/php-css-parser/RuleSet/DeclarationBlock.php
->
line 345
/lib/php-css-parser/RuleSet/DeclarationBlock.php
->
line 381
/lib/php-css-parser/RuleSet/DeclarationBlock.php
->
line 402
/lib/php-css-parser/RuleSet/DeclarationBlock.php
->
line 433
/lib/php-css-parser/RuleSet/DeclarationBlock.php
->
line 526
/lib/php-css-parser/RuleSet/DeclarationBlock.php
->
line 603
/admin/tool/analytics/classes/output/form/edit_model.php
->
line 65
/badges/classes/form/badge.php
->
line 57
/badges/classes/form/badge.php
->
line 58
/badges/classes/form/badge.php
->
line 70
/badges/classes/form/badge.php
->
line 77
/badges/classes/form/badge.php
->
line 102
/admin/tool/analytics/classes/output/form/import_model.php
->
line 51
/admin/tool/oauth2/classes/form/endpoint.php
->
line 57
/admin/tool/oauth2/classes/form/endpoint.php
->
line 58
/admin/tool/oauth2/classes/form/endpoint.php
->
line 63
/admin/tool/oauth2/classes/form/endpoint.php
->
line 64
/admin/mnet/peer_forms.php
->
line 43
/admin/mnet/peer_forms.php
->
line 44
/admin/mnet/peer_forms.php
->
line 48
/admin/mnet/peer_forms.php
->
line 92
/admin/mnet/peer_forms.php
->
line 96
/admin/mnet/peer_forms.php
->
line 115
/mod/lesson/pagetypes/matching.php
->
line 531
/admin/tool/generator/classes/make_course_form.php
->
line 51
/login/change_password_form.php
->
line 58
/login/change_password_form.php
->
line 62
/login/change_password_form.php
->
line 66
/mod/lesson/pagetypes/branchtable.php
->
line 341
/admin/tool/licensemanager/classes/form/edit_license.php
->
line 85
/admin/tool/licensemanager/classes/form/edit_license.php
->
line 90
/admin/tool/licensemanager/classes/form/edit_license.php
->
line 95
/backup/restorefile_form.php
->
line 33
/customfield/field/select/classes/data_controller.php
->
line 85
/admin/classes/form/testoutgoingmailconf_form.php
->
line 49
/mod/resource/mod_form.php
->
line 56
/mod/resource/mod_form.php
->
line 57
/mod/lesson/override_form.php
->
line 125
/mod/lesson/override_form.php
->
line 190
/login/signup_form.php
->
line 44
/login/signup_form.php
->
line 51
/login/signup_form.php
->
line 57
/login/signup_form.php
->
line 62
/login/signup_form.php
->
line 73
/admin/tool/replace/classes/form.php
->
line 44
/admin/tool/replace/classes/form.php
->
line 57
/admin/tool/replace/classes/form.php
->
line 62
/cache/stores/apcu/addinstanceform.php
->
line 45
/admin/tool/usertours/classes/local/forms/importtour.php
->
line 52
/mod/workshop/form/numerrors/assessment_form.php
->
line 77
/admin/tool/lp/classes/form/template.php
->
line 58
/admin/tool/lp/classes/form/template.php
->
line 59
/portfolio/picasa/lib.php
->
line 118
/portfolio/picasa/lib.php
->
line 119
/grade/grading/form/guide/edit_form.php
->
line 56
/grade/grading/form/guide/edit_form.php
->
line 58
/enrol/meta/lib.php
->
line 310
/payment/classes/form/account.php
->
line 53
/payment/classes/form/account.php
->
line 54
/payment/classes/form/account.php
->
line 59
/mod/feedback/mod_form.php
->
line 46
/mod/feedback/mod_form.php
->
line 47
/admin/tool/dataprivacy/classes/form/purpose.php
->
line 57
/admin/tool/dataprivacy/classes/form/purpose.php
->
line 58
/admin/tool/dataprivacy/classes/form/purpose.php
->
line 65
/repository/s3/lib.php
->
line 305
/repository/s3/lib.php
->
line 306
/group/grouping_form.php
->
line 54
/badges/endorsement_form.php
->
line 46
/badges/endorsement_form.php
->
line 49
/badges/endorsement_form.php
->
line 54
/badges/endorsement_form.php
->
line 61
/mod/quiz/override_form.php
->
line 122
/mod/quiz/override_form.php
->
line 181
/mod/quiz/report/grading/gradingsettings_form.php
->
line 75
/customfield/field/textarea/classes/data_controller.php
->
line 77
/mod/lesson/mod_form.php
->
line 96
/mod/lesson/mod_form.php
->
line 97
/admin/tool/uploadcourse/classes/step2_form.php
->
line 87
/enrol/lti/lib.php
->
line 219
/enrol/lti/lib.php
->
line 268
/mod/chat/mod_form.php
->
line 41
/mod/chat/mod_form.php
->
line 42
/customfield/field/text/classes/data_controller.php
->
line 64
/privacy/classes/local/sitepolicy/handler.php
->
line 110
/mod/workshop/form/accumulative/assessment_form.php
->
line 83
/customfield/field/checkbox/classes/data_controller.php
->
line 65
/repository/onedrive/lib.php
->
line 1112
/mod/h5pactivity/mod_form.php
->
line 61
/mod/h5pactivity/mod_form.php
->
line 62
/mod/h5pactivity/mod_form.php
->
line 75
/course/request_form.php
->
line 63
/course/request_form.php
->
line 68
/course/request_form.php
->
line 74
/course/request_form.php
->
line 86
/course/request_form.php
->
line 145
/grade/edit/outcome/import_outcomes_form.php
->
line 51
/grade/grading/form/rubric/edit_form.php
->
line 54
/mod/forum/classes/prune_form.php
->
line 49
/mod/forum/classes/prune_form.php
->
line 50
/mod/lti/edit_form.php
->
line 85
/mod/lti/edit_form.php
->
line 95
/user/editlib.php
->
line 270
/user/editlib.php
->
line 291
/grade/edit/tree/category_form.php
->
line 46
/admin/tool/filetypes/edit_form.php
->
line 43
/admin/tool/filetypes/edit_form.php
->
line 48
/admin/tool/httpsreplace/classes/form.php
->
line 47
/customfield/field/date/classes/data_controller.php
->
line 82
/admin/tool/monitor/classes/rule_form.php
->
line 90
/admin/tool/monitor/classes/rule_form.php
->
line 95
/admin/tool/monitor/classes/rule_form.php
->
line 99
/admin/tool/monitor/classes/rule_form.php
->
line 116
/admin/tool/monitor/classes/rule_form.php
->
line 122
/admin/tool/monitor/classes/rule_form.php
->
line 128
/badges/classes/form/external_backpack.php
->
line 58
/badges/classes/form/external_backpack.php
->
line 59
/badges/classes/form/external_backpack.php
->
line 63
/badges/classes/form/external_backpack.php
->
line 64
/badges/classes/form/external_backpack.php
->
line 70
/cohort/edit_form.php
->
line 42
/cohort/edit_form.php
->
line 47
/mod/assign/locallib.php
->
line 8028
/mod/book/edit_form.php
->
line 61
/mod/book/edit_form.php
->
line 62
/mod/book/edit_form.php
->
line 68
/backup/util/ui/classes/output/copy_form.php
->
line 94
/backup/util/ui/classes/output/copy_form.php
->
line 100
/backup/util/ui/classes/output/copy_form.php
->
line 110
/cache/stores/redis/addinstanceform.php
->
line 45
/cache/stores/redis/addinstanceform.php
->
line 54
/cache/stores/mongodb/addinstanceform.php
->
line 60
/cache/stores/mongodb/addinstanceform.php
->
line 66
/mod/assign/override_form.php
->
line 141
/mod/assign/override_form.php
->
line 206
/admin/user/user_bulk_cohortadd_form.php
->
line 35
/customfield/classes/field_config_form.php
->
line 59
/customfield/classes/field_config_form.php
->
line 67
/mod/assign/feedback/offline/uploadgradesform.php
->
line 55
/repository/webdav/lib.php
->
line 166
/repository/webdav/lib.php
->
line 169
/repository/webdav/lib.php
->
line 173
/repository/webdav/lib.php
->
line 181
/grade/import/grade_import_form.php
->
line 51
/mod/wiki/mod_form.php
->
line 55
/mod/wiki/mod_form.php
->
line 56
/mod/wiki/mod_form.php
->
line 77
/group/group_form.php
->
line 52
/repository/lib.php
->
line 2912
/badges/criteria/award_criteria_competency.php
->
line 113
/mod/forum/mod_form.php
->
line 48
/mod/forum/mod_form.php
->
line 49
/mod/forum/mod_form.php
->
line 197
/mod/forum/mod_form.php
->
line 204
/mod/glossary/edit_form.php
->
line 31
/mod/glossary/edit_form.php
->
line 35
/repository/dropbox/lib.php
->
line 524
/repository/dropbox/lib.php
->
line 525
/repository/dropbox/lib.php
->
line 534
/admin/webservice/forms.php
->
line 67
/admin/webservice/forms.php
->
line 210
/admin/webservice/forms.php
->
line 264
/admin/webservice/forms.php
->
line 281
/blog/external_blog_edit_form.php
->
line 41
/contentbank/files_form.php
->
line 55
/mod/data/mod_form.php
->
line 24
/mod/data/mod_form.php
->
line 25
/mod/choice/mod_form.php
->
line 24
/mod/choice/mod_form.php
->
line 25
/mod/choice/mod_form.php
->
line 79
/blog/preferences_form.php
->
line 42
/cache/forms.php
->
line 59
/cache/forms.php
->
line 340
/enrol/guest/lib.php
->
line 415
/mod/page/mod_form.php
->
line 48
/mod/page/mod_form.php
->
line 49
/mod/page/mod_form.php
->
line 55
/lib/form/grading.php
->
line 148
/customfield/field/text/classes/field_controller.php
->
line 61
/customfield/field/text/classes/field_controller.php
->
line 68
/grade/edit/outcome/edit_form.php
->
line 40
/grade/edit/outcome/edit_form.php
->
line 44
/grade/edit/outcome/edit_form.php
->
line 55
/cache/stores/memcached/addinstanceform.php
->
line 58
/cache/stores/memcached/addinstanceform.php
->
line 75
/mod/workshop/mod_form.php
->
line 73
/mod/workshop/mod_form.php
->
line 74
/admin/tool/lp/classes/form/competency_framework.php
->
line 61
/admin/tool/lp/classes/form/competency_framework.php
->
line 62
/admin/tool/lp/classes/form/competency_framework.php
->
line 70
/admin/tool/lp/classes/form/competency_framework.php
->
line 71
/admin/tool/lp/classes/form/competency_framework.php
->
line 77
/course/moodleform_mod.php
->
line 1096
/course/moodleform_mod.php
->
line 1239
/admin/tool/customlang/classes/form/import.php
->
line 57
/blocks/html/edit_form.php
->
line 43
/calendar/classes/local/event/forms/create.php
->
line 87
/portfolio/mahara/lib.php
->
line 94
/lib/php-css-parser/RuleSet/RuleSet.php
->
line 56
/lib/php-css-parser/RuleSet/RuleSet.php
->
line 115
/mod/quiz/mod_form.php
->
line 76
/mod/quiz/mod_form.php
->
line 77
/enrol/mnet/lib.php
->
line 158
/enrol/mnet/lib.php
->
line 163
/admin/tool/uploaduser/user_form.php
->
line 49
/admin/tool/uploaduser/user_form.php
->
line 233
/admin/tool/profiling/import_form.php
->
line 38
/auth/classes/form/verify_age_location_form.php
->
line 50
/auth/classes/form/verify_age_location_form.php
->
line 51
/auth/classes/form/verify_age_location_form.php
->
line 57
/repository/merlot/lib.php
->
line 151
/repository/flickr_public/lib.php
->
line 543
/admin/user/user_message_form.php
->
line 17
/course/classes/editcategory_form.php
->
line 67
/course/classes/editcategory_form.php
->
line 70
/lib/classes/hub/site_registration_form.php
->
line 110
/lib/classes/hub/site_registration_form.php
->
line 128
/lib/classes/hub/site_registration_form.php
->
line 156
/portfolio/flickr/lib.php
->
line 111
/portfolio/flickr/lib.php
->
line 114
/question/export_form.php
->
line 67
/badges/criteria/award_criteria_badge.php
->
line 117
/badges/criteria/award_criteria_cohort.php
->
line 103
/repository/googledocs/lib.php
->
line 1079
/admin/tool/dataprivacy/createdatarequest_form.php
->
line 76
/admin/tool/dataprivacy/createdatarequest_form.php
->
line 88
/lib/portfolio/forms.php
->
line 198
/admin/tool/lp/classes/form/plan.php
->
line 59
/admin/tool/lp/classes/form/plan.php
->
line 60
/portfolio/boxnet/lib.php
->
line 105
/portfolio/boxnet/lib.php
->
line 109
/mod/assign/submissionconfirmform.php
->
line 51
/admin/tool/uploaduser/picture_form.php
->
line 42
/enrol/cohort/lib.php
->
line 435