Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
/lib/classes/event/
FolderUp one level  
Fileassessable_submitted.php                                [source] [69 lines]    Abstract assessable submitted event.
Fileassessable_uploaded.php                                 [source] [84 lines]    Abstract assessable uploaded event.
Filebadge_archived.php                                      [source] [98 lines]    Badge archived event.
Filebadge_awarded.php                                       [source] [108 lines]   Badge awarded event.
Filebadge_created.php                                       [source] [96 lines]    Badge created event.
Filebadge_criteria_created.php                              [source] [116 lines]   Badge criteria created event.
Filebadge_criteria_deleted.php                              [source] [117 lines]   Badge criteria deleted event.
Filebadge_criteria_updated.php                              [source] [115 lines]   Badge criteria updated event.
Filebadge_deleted.php                                       [source] [119 lines]   Badge deleted event.
Filebadge_disabled.php                                      [source] [97 lines]    Badge disabled event.
Filebadge_duplicated.php                                    [source] [97 lines]    Badge duplicated event.
Filebadge_enabled.php                                       [source] [97 lines]    Badge enabled event.
Filebadge_listing_viewed.php                                [source] [119 lines]   Badge listing viewed event.
Filebadge_revoked.php                                       [source] [118 lines]   Badge revoked event.
Filebadge_updated.php                                       [source] [96 lines]    Badge updated event.
Filebadge_viewed.php                                        [source] [107 lines]   Badge viewed event.
Filebase.php                                                [source] [1003 lines]  Base event class.
Fileblog_association_created.php                            [source] [142 lines]   Event for when a new blog entry is associated with a context.
Fileblog_association_deleted.php                            [source] [120 lines]   Event for when a new blog entry is associated with a context.
Fileblog_comment_created.php                                [source] [61 lines]    The blog comment created event.
Fileblog_comment_deleted.php                                [source] [61 lines]    The blog comment deleted event.
Fileblog_entries_viewed.php                                 [source] [121 lines]   Event for when blog entries are viewed.
Fileblog_entry_created.php                                  [source] [148 lines]   Event for when a new blog entry is added..
Fileblog_entry_deleted.php                                  [source] [139 lines]   Event for when a new blog entry is deleted.
Fileblog_entry_updated.php                                  [source] [147 lines]   Event to be triggered when a blog entry is updated.
Fileblog_external_added.php                                 [source] [104 lines]   Event for when a new blog entry is associated with a context.
Fileblog_external_removed.php                               [source] [73 lines]    Event for when a new blog entry is associated with a context.
Fileblog_external_updated.php                               [source] [104 lines]   Event for when a new blog entry is associated with a context.
Fileblog_external_viewed.php                                [source] [76 lines]    Event for when a new blog entry is associated with a context.
Filecalendar_event_created.php                              [source] [125 lines]   Calendar event created event.
Filecalendar_event_deleted.php                              [source] [106 lines]   Calendar event deleted event.
Filecalendar_event_updated.php                              [source] [124 lines]   Calendar event updated event.
Filecalendar_subscription_created.php                       [source] [133 lines]   calendar subscription added event.
Filecalendar_subscription_deleted.php                       [source] [141 lines]   calendar subscription deleted event.
Filecalendar_subscription_updated.php                       [source] [133 lines]   calendar subscription updated event.
Filecapability_assigned.php                                 [source] [99 lines]    Capability assigned event.
Filecapability_unassigned.php                               [source] [81 lines]    Capability unassigned event.
Filecohort_created.php                                      [source] [98 lines]    Cohort updated event.
Filecohort_deleted.php                                      [source] [98 lines]    Cohort deleted event.
Filecohort_member_added.php                                 [source] [116 lines]   User added to a cohort event.
Filecohort_member_removed.php                               [source] [117 lines]   User removed from a cohort event.
Filecohort_updated.php                                      [source] [98 lines]    Cohort updated event.
Filecomment_created.php                                     [source] [114 lines]   Abstract comment created event.
Filecomment_deleted.php                                     [source] [114 lines]   Abstract comment deleted event.
Filecomments_viewed.php                                     [source] [82 lines]    Abstract comments viewed event.
Filecompetency_comment_created.php                          [source] [57 lines]    Comment created event for core_competency areas.
Filecompetency_comment_deleted.php                          [source] [48 lines]    Comment deleted event for core_competency areas.
Filecompetency_created.php                                  [source] [108 lines]   Competency created event.
Filecompetency_deleted.php                                  [source] [116 lines]   Competency deleted event.
Filecompetency_evidence_created.php                         [source] [171 lines]   Evidence created event.
Filecompetency_framework_created.php                        [source] [108 lines]   Competency framework created event.
Filecompetency_framework_deleted.php                        [source] [102 lines]   Competency framework deleted event.
Filecompetency_framework_updated.php                        [source] [111 lines]   Competency framework updated event.
Filecompetency_framework_viewed.php                         [source] [107 lines]   Competency framework viewed event.
Filecompetency_plan_approved.php                            [source] [113 lines]   Plan approved event.
Filecompetency_plan_completed.php                           [source] [113 lines]   Plan completed event.
Filecompetency_plan_created.php                             [source] [108 lines]   Plan created event.
Filecompetency_plan_deleted.php                             [source] [102 lines]   Plan deleted event.
Filecompetency_plan_reopened.php                            [source] [113 lines]   Plan reopened event.
Filecompetency_plan_review_request_cancelled.php            [source] [113 lines]   Plan review request cancelled event.
Filecompetency_plan_review_requested.php                    [source] [113 lines]   Plan review requested event.
Filecompetency_plan_review_started.php                      [source] [113 lines]   Plan review started event.
Filecompetency_plan_review_stopped.php                      [source] [113 lines]   Plan review stopped event.
Filecompetency_plan_unapproved.php                          [source] [113 lines]   Plan unapproved event.
Filecompetency_plan_unlinked.php                            [source] [110 lines]   Plan unlinked event.
Filecompetency_plan_updated.php                             [source] [113 lines]   Plan updated event.
Filecompetency_plan_viewed.php                              [source] [108 lines]   Plan viewed event.
Filecompetency_template_created.php                         [source] [108 lines]   Template created event.
Filecompetency_template_deleted.php                         [source] [102 lines]   Template deleted event.
Filecompetency_template_updated.php                         [source] [113 lines]   Template updated event.
Filecompetency_template_viewed.php                          [source] [108 lines]   Template viewed event.
Filecompetency_updated.php                                  [source] [108 lines]   Competency updated event.
Filecompetency_user_competency_plan_viewed.php              [source] [139 lines]   User competency plan viewed event.
Filecompetency_user_competency_rated.php                    [source] [135 lines]   User competency grade rated event.
Filecompetency_user_competency_rated_in_course.php          [source] [150 lines]   User competency grade rated in course event.
Filecompetency_user_competency_rated_in_plan.php            [source] [150 lines]   User competency grade rated in course event.
Filecompetency_user_competency_review_request_cancelled.php [source] [121 lines]   User competency review requested event.
Filecompetency_user_competency_review_requested.php         [source] [121 lines]   User competency review requested event.
Filecompetency_user_competency_review_started.php           [source] [121 lines]   User competency review started event.
Filecompetency_user_competency_review_stopped.php           [source] [121 lines]   User competency review stopped event.
Filecompetency_user_competency_viewed.php                   [source] [130 lines]   User competency viewed event.
Filecompetency_user_competency_viewed_in_course.php         [source] [138 lines]   User competency viewed event.
Filecompetency_user_competency_viewed_in_plan.php           [source] [143 lines]   User competency viewed event.
Filecompetency_user_evidence_created.php                    [source] [109 lines]   Evidence of prior learning created event.
Filecompetency_user_evidence_deleted.php                    [source] [100 lines]   Evidence of prior learning deleted event.
Filecompetency_user_evidence_updated.php                    [source] [109 lines]   Evidence of prior learning updated event.
Filecompetency_viewed.php                                   [source] [108 lines]   Competency viewed event.
Filecompletion_defaults_updated.php                         [source] [101 lines]   Default completion for activity in a course updated event
Fileconfig_log_created.php                                  [source] [120 lines]   Config log created.
Filecontent_viewed.php                                      [source] [142 lines]   Abstract event for content viewing. This class has been deprecated, please extend base event or other relevent abstract class.
Filecontentbank_content_created.php                         [source] [137 lines]   Contentbank content created event.
Filecontentbank_content_deleted.php                         [source] [126 lines]   Contentbank content deleted event.
Filecontentbank_content_updated.php                         [source] [137 lines]   Contentbank content uploaded event.
Filecontentbank_content_uploaded.php                        [source] [137 lines]   Contentbank content uploaded event.
Filecontentbank_content_viewed.php                          [source] [137 lines]   Contentbank content viewed event.
Filecontext_locked.php                                      [source] [85 lines]    Context locked event.
Filecontext_unlocked.php                                    [source] [85 lines]    Context unlocked event.
Filecourse_backup_created.php                               [source] [118 lines]   Course backup created event.
Filecourse_category_created.php                             [source] [88 lines]    Course category created event.
Filecourse_category_deleted.php                             [source] [153 lines]   Category deleted event.
Filecourse_category_updated.php                             [source] [104 lines]   Course category updated event.
Filecourse_category_viewed.php                              [source] [83 lines]    Course category viewed event.
Filecourse_completed.php                                    [source] [148 lines]   Course completed event.
Filecourse_completion_updated.php                           [source] [82 lines]    Course module completion updated event.
Filecourse_content_deleted.php                              [source] [115 lines]   Course content deleted event.
Filecourse_created.php                                      [source] [131 lines]   Course created event.
Filecourse_deleted.php                                      [source] [126 lines]   Course deleted event.
Filecourse_information_viewed.php                           [source] [94 lines]    Course information viewed event.
Filecourse_module_completion_updated.php                    [source] [134 lines]   Course module completion event.
Filecourse_module_created.php                               [source] [180 lines]   Event to be triggered when a new course module is created.
Filecourse_module_deleted.php                               [source] [134 lines]   Event to be triggered when a new course module is deleted.
Filecourse_module_instance_list_viewed.php                  [source] [115 lines]   Course module instance list viewed event.
Filecourse_module_instances_list_viewed.php                 [source] [51 lines]    Course module instances list_viewed event. This class has been deprecated, please use \core\event\course_module_instance_list_viewed.
Filecourse_module_updated.php                               [source] [178 lines]   Event to be triggered when a new course module is updated.
Filecourse_module_viewed.php                                [source] [107 lines]   Course module viewed event.
Filecourse_reset_ended.php                                  [source] [98 lines]    The course reset ended event.
Filecourse_reset_started.php                                [source] [97 lines]    core course reset started event.
Filecourse_resources_list_viewed.php                        [source] [118 lines]   Event for viewing the list of course resources.
Filecourse_restored.php                                     [source] [158 lines]   Course restored event.
Filecourse_section_created.php                              [source] [131 lines]   Course section created event.
Filecourse_section_deleted.php                              [source] [101 lines]   Course section deleted event.
Filecourse_section_updated.php                              [source] [116 lines]   Course section updated event.
Filecourse_updated.php                                      [source] [130 lines]   Course updated event.
Filecourse_user_report_viewed.php                           [source] [122 lines]   Course user report viewed event.
Filecourse_viewed.php                                       [source] [149 lines]   Course viewed event.
Filecourses_searched.php                                    [source] [107 lines]   Courses searched event.
Filedashboard_reset.php                                     [source] [76 lines]    Dashboard reset event.
Filedashboard_viewed.php                                    [source] [68 lines]    Dashboard viewed event.
Filedashboards_reset.php                                    [source] [83 lines]    Dashboards reset event.
Filedatabase_text_field_content_replaced.php                [source] [85 lines]    The database text field content replaced event.
Fileemail_failed.php                                        [source] [109 lines]   Email failed event.
Fileenrol_instance_created.php                              [source] [118 lines]   Enrol instance created event.
Fileenrol_instance_deleted.php                              [source] [119 lines]   Enrol instance deleted event.
Fileenrol_instance_updated.php                              [source] [119 lines]   Enrol instance updated event.
Filegrade_deleted.php                                       [source] [145 lines]   Grade deleted event.
Filegrade_exported.php                                      [source] [90 lines]    Grade report viewed event.
Filegrade_item_created.php                                  [source] [146 lines]   Grade item created event.
Filegrade_item_deleted.php                                  [source] [67 lines]    Grade item deleted event.
Filegrade_item_updated.php                                  [source] [70 lines]    Grade item updated event.
Filegrade_letter_created.php                                [source] [93 lines]    Grade letter created event.
Filegrade_letter_deleted.php                                [source] [82 lines]    Grade letter deleted event.
Filegrade_letter_updated.php                                [source] [95 lines]    Grade letter updated event.
Filegrade_report_viewed.php                                 [source] [89 lines]    Grade report viewed event.
Filegroup_created.php                                       [source] [97 lines]    Group created event.
Filegroup_deleted.php                                       [source] [97 lines]    Group deleted event.
Filegroup_member_added.php                                  [source] [139 lines]   Group member added event.
Filegroup_member_removed.php                                [source] [116 lines]   Group member removed event.
Filegroup_message_sent.php                                  [source] [157 lines]   Group message sent event.
Filegroup_updated.php                                       [source] [97 lines]    Group updated event.
Filegrouping_created.php                                    [source] [97 lines]    Grouping created event.
Filegrouping_deleted.php                                    [source] [104 lines]   Grouping deleted event.
Filegrouping_group_assigned.php                             [source] [98 lines]    Group assigned to grouping event.
Filegrouping_group_unassigned.php                           [source] [98 lines]    Group unassigned from grouping event.
Filegrouping_updated.php                                    [source] [97 lines]    Grouping updated event.
Fileinsights_viewed.php                                     [source] [79 lines]    Insights page viewed event.
Filemanager.php                                             [source] [359 lines]   New event manager class.
Filemessage_contact_added.php                               [source] [102 lines]   Message contact added event.
Filemessage_contact_removed.php                             [source] [102 lines]   Message contact removed event.
Filemessage_deleted.php                                     [source] [147 lines]   Message deleted event.
Filemessage_sent.php                                        [source] [158 lines]   Message sent event.
Filemessage_user_blocked.php                                [source] [83 lines]    Message user blocked event.
Filemessage_user_unblocked.php                              [source] [83 lines]    Message users unblocked event.
Filemessage_viewed.php                                      [source] [109 lines]   Message viewed event.
Filemnet_access_control_created.php                         [source] [126 lines]   Mnet access control created event.
Filemnet_access_control_updated.php                         [source] [130 lines]   Mnet access control updated event.
Filenote_created.php                                        [source] [119 lines]   Event for when a new note entry is added.
Filenote_deleted.php                                        [source] [109 lines]   Event for when a new note entry deleted.
Filenote_updated.php                                        [source] [119 lines]   Event for when a new note entry is updated.
Filenotes_viewed.php                                        [source] [89 lines]    Event for when a new note entry viewed.
Filenotification_sent.php                                   [source] [149 lines]   Notification sent event.
Filenotification_viewed.php                                 [source] [126 lines]   Notification viewed event.
Fileprediction_action_started.php                           [source] [107 lines]   Prediction action clicked event.
Filequestion_base.php                                       [source] [129 lines]   Base class for question events.
Filequestion_category_base.php                              [source] [95 lines]    Base class for question category events.
Filequestion_category_created.php                           [source] [79 lines]    Question category created event.
Filequestion_category_deleted.php                           [source] [65 lines]    Question category deleted event.
Filequestion_category_moved.php                             [source] [65 lines]    Question category moved event.
Filequestion_category_updated.php                           [source] [64 lines]    Question category updated event.
Filequestion_category_viewed.php                            [source] [65 lines]    Question category viewed event.
Filequestion_created.php                                    [source] [87 lines]    Question created event.
Filequestion_deleted.php                                    [source] [82 lines]    Question deleted event.
Filequestion_moved.php                                      [source] [132 lines]   Question moved event.
Filequestion_updated.php                                    [source] [71 lines]    Question updated event.
Filequestion_viewed.php                                     [source] [71 lines]    Question previewed event.
Filequestions_exported.php                                  [source] [116 lines]   Questions exported event.
Filequestions_imported.php                                  [source] [115 lines]   Questions imported event.
Filerecent_activity_viewed.php                              [source] [98 lines]    Event for recent activity page.
Filerole_allow_assign_updated.php                           [source] [85 lines]    Role assignments updated event.
Filerole_allow_override_updated.php                         [source] [85 lines]    Role allow override updated event.
Filerole_allow_switch_updated.php                           [source] [85 lines]    Role allow switch updated event.
Filerole_allow_view_updated.php                             [source] [85 lines]    Role allow view updated event.
Filerole_assigned.php                                       [source] [147 lines]   Role assigned event.
Filerole_capabilities_updated.php                           [source] [118 lines]   Role updated event.
Filerole_deleted.php                                        [source] [114 lines]   Role assigned event.
Filerole_unassigned.php                                     [source] [143 lines]   Role unassigned event.
Filerole_updated.php                                        [source] [97 lines]    Role updated event.
Filescale_created.php                                       [source] [95 lines]    Scale created event.
Filescale_deleted.php                                       [source] [82 lines]    Scale deleted event.
Filescale_updated.php                                       [source] [95 lines]    Scale updated event.
Filesearch_indexed.php                                      [source] [77 lines]    Data indexed event.
Filesearch_results_viewed.php                               [source] [114 lines]   Search results viewed.
Filetag_added.php                                           [source] [161 lines]   The tag added event.
Filetag_collection_created.php                              [source] [82 lines]    Tag collection created event.
Filetag_collection_deleted.php                              [source] [82 lines]    Tag collection deleted event.
Filetag_collection_updated.php                              [source] [82 lines]    Tag collection updated event.
Filetag_created.php                                         [source] [119 lines]   Tag created event.
Filetag_deleted.php                                         [source] [99 lines]    Tag deleted event.
Filetag_flagged.php                                         [source] [108 lines]   Tag flagged event.
Filetag_removed.php                                         [source] [148 lines]   The tag removed event.
Filetag_unflagged.php                                       [source] [100 lines]   Tag unflagged event.
Filetag_updated.php                                         [source] [125 lines]   Tag updated event.
Fileunknown_logged.php                                      [source] [50 lines]    Unknown event.
Fileuser_created.php                                        [source] [140 lines]   User created event.
Fileuser_deleted.php                                        [source] [155 lines]   User deleted event.
Fileuser_enrolment_created.php                              [source] [137 lines]   User enrolment created event.
Fileuser_enrolment_deleted.php                              [source] [136 lines]   User enrolment deleted event.
Fileuser_enrolment_updated.php                              [source] [126 lines]   User enrolment updated event.
Fileuser_graded.php                                         [source] [176 lines]   Grade edited event.
Fileuser_info_category_created.php                          [source] [128 lines]   User profile field created event.
Fileuser_info_category_deleted.php                          [source] [115 lines]   User profile field deleted event.
Fileuser_info_category_updated.php                          [source] [128 lines]   User profile field updated event.
Fileuser_info_field_created.php                             [source] [141 lines]   User profile field created event.
Fileuser_info_field_deleted.php                             [source] [127 lines]   User profile info field deleted event.
Fileuser_info_field_updated.php                             [source] [141 lines]   User profile info field updated event.
Fileuser_list_viewed.php                                    [source] [99 lines]    Defines the user list viewed event.
Fileuser_loggedin.php                                       [source] [124 lines]   User login event.
Fileuser_loggedinas.php                                     [source] [123 lines]   User loggedinas event.
Fileuser_loggedout.php                                      [source] [116 lines]   User logout event.
Fileuser_login_failed.php                                   [source] [135 lines]   User login failed event.
Fileuser_password_policy_failed.php                         [source] [89 lines]    Password policy failed event.
Fileuser_password_updated.php                               [source] [137 lines]   User password updated event.
Fileuser_profile_viewed.php                                 [source] [125 lines]   The user profile viewed event.
Fileuser_updated.php                                        [source] [140 lines]   User updated event.
Fileuserfeedback_give.php                                   [source] [63 lines]    Feedback given.
Fileuserfeedback_remind.php                                 [source] [63 lines]    Feedback remind.
Filevirus_infected_data_detected.php                        [source] [78 lines]    Data infected event
Filevirus_infected_file_detected.php                        [source] [78 lines]    Fle infected event
Filewebservice_function_called.php                          [source] [112 lines]   Web service function called event.
Filewebservice_login_failed.php                             [source] [130 lines]   Web service login failed event.
Filewebservice_service_created.php                          [source] [103 lines]   Web service service created event.
Filewebservice_service_deleted.php                          [source] [94 lines]    Web service service deleted event.
Filewebservice_service_updated.php                          [source] [94 lines]    Web service service updated event.
Filewebservice_service_user_added.php                       [source] [107 lines]   Web service service user added event.
Filewebservice_service_user_removed.php                     [source] [107 lines]   Web service service user removed event.
Filewebservice_token_created.php                            [source] [120 lines]   Web service token created event.
Filewebservice_token_sent.php                               [source] [81 lines]    Webservice token_sent event.