Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.
/lib/classes/event/
FolderUp one level  
Fileantivirus_scan_data_error.php                           [source] [69 lines]    
Fileantivirus_scan_file_error.php                           [source] [70 lines]    
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] [964 lines]   Base event class.
Fileblog_association_created.php                            [source] [127 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] [105 lines]   Event for when blog entries are viewed.
Fileblog_entry_created.php                                  [source] [120 lines]   Event for when a new blog entry is added..
Fileblog_entry_deleted.php                                  [source] [111 lines]   Event for when a new blog entry is deleted.
Fileblog_entry_updated.php                                  [source] [119 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] [116 lines]   Calendar event created event.
Filecalendar_event_deleted.php                              [source] [106 lines]   Calendar event deleted event.
Filecalendar_event_updated.php                              [source] [115 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] [80 lines]    Cohort updated event.
Filecohort_deleted.php                                      [source] [80 lines]    Cohort deleted event.
Filecohort_member_added.php                                 [source] [95 lines]    User added to a cohort event.
Filecohort_member_removed.php                               [source] [96 lines]    User removed from a cohort event.
Filecohort_updated.php                                      [source] [80 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] [124 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] [79 lines]    Course category created event.
Filecourse_category_deleted.php                             [source] [126 lines]   Category deleted event.
Filecourse_category_updated.php                             [source] [82 lines]    Course category updated event.
Filecourse_category_viewed.php                              [source] [83 lines]    Course category viewed event.
Filecourse_completed.php                                    [source] [130 lines]   Course completed event.
Filecourse_completion_updated.php                           [source] [73 lines]    Course module completion updated event.
Filecourse_content_deleted.php                              [source] [93 lines]    Course content deleted event.
Filecourse_created.php                                      [source] [104 lines]   Course created event.
Filecourse_deleted.php                                      [source] [96 lines]    Course deleted event.
Filecourse_ended.php                                        [source] [96 lines]    
Filecourse_information_viewed.php                           [source] [94 lines]    Course information viewed event.
Filecourse_module_completion_updated.php                    [source] [116 lines]   Course module completion event.
Filecourse_module_created.php                               [source] [142 lines]   Event to be triggered when a new course module is created.
Filecourse_module_deleted.php                               [source] [101 lines]   Event to be triggered when a new course module is deleted.
Filecourse_module_instance_list_viewed.php                  [source] [105 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] [140 lines]   Event to be triggered when a new course module is updated.
Filecourse_module_viewed.php                                [source] [97 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] [89 lines]    Event for viewing the list of course resources.
Filecourse_restored.php                                     [source] [132 lines]   Course restored event.
Filecourse_section_created.php                              [source] [131 lines]   Course section created event.
Filecourse_section_deleted.php                              [source] [92 lines]    Course section deleted event.
Filecourse_section_updated.php                              [source] [106 lines]   Course section updated event.
Filecourse_started.php                                      [source] [96 lines]    
Filecourse_updated.php                                      [source] [94 lines]    Course updated event.
Filecourse_user_report_viewed.php                           [source] [112 lines]   Course user report viewed event.
Filecourse_viewed.php                                       [source] [125 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.
Filedraft_file_added.php                                    [source] [81 lines]    
Filedraft_file_deleted.php                                  [source] [83 lines]    
Fileemail_failed.php                                        [source] [100 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] [86 lines]    
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] [79 lines]    Group created event.
Filegroup_deleted.php                                       [source] [79 lines]    Group deleted event.
Filegroup_member_added.php                                  [source] [116 lines]   Group member added event.
Filegroup_member_removed.php                                [source] [95 lines]    Group member removed event.
Filegroup_message_sent.php                                  [source] [157 lines]   Group message sent event.
Filegroup_updated.php                                       [source] [79 lines]    Group updated event.
Filegrouping_created.php                                    [source] [79 lines]    Grouping created event.
Filegrouping_deleted.php                                    [source] [86 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] [79 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] [92 lines]    Message contact added event.
Filemessage_contact_removed.php                             [source] [92 lines]    Message contact removed event.
Filemessage_deleted.php                                     [source] [147 lines]   Message deleted event.
Filemessage_sent.php                                        [source] [141 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] [116 lines]   Mnet access control created event.
Filemnet_access_control_updated.php                         [source] [120 lines]   Mnet access control updated event.
Filemoodlenet_resource_exported.php                         [source] [78 lines]    
Filemycourses_viewed.php                                    [source] [58 lines]    
Filenote_created.php                                        [source] [108 lines]   Event for when a new note entry is added.
Filenote_deleted.php                                        [source] [98 lines]    Event for when a new note entry deleted.
Filenote_updated.php                                        [source] [108 lines]   Event for when a new note entry is updated.
Filenotes_viewed.php                                        [source] [79 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.
Fileqbank_plugin_base.php                                   [source] [56 lines]    
Fileqbank_plugin_disabled.php                               [source] [36 lines]    
Fileqbank_plugin_enabled.php                                [source] [36 lines]    
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] [64 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] [117 lines]   Questions exported event.
Filequestions_imported.php                                  [source] [116 lines]   Questions imported event.
Filerecent_activity_viewed.php                              [source] [89 lines]    Event for recent activity page.
Filerole_allow_assign_updated.php                           [source] [76 lines]    Role assignments updated event.
Filerole_allow_override_updated.php                         [source] [76 lines]    Role allow override updated event.
Filerole_allow_switch_updated.php                           [source] [76 lines]    Role allow switch updated event.
Filerole_allow_view_updated.php                             [source] [76 lines]    Role allow view updated event.
Filerole_assigned.php                                       [source] [116 lines]   Role assigned event.
Filerole_capabilities_updated.php                           [source] [99 lines]    Role updated event.
Filerole_created.php                                        [source] [69 lines]    
Filerole_deleted.php                                        [source] [104 lines]   Role assigned event.
Filerole_unassigned.php                                     [source] [113 lines]   Role unassigned event.
Filerole_updated.php                                        [source] [87 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] [147 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] [99 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] [103 lines]   Tag updated event.
Fileunknown_logged.php                                      [source] [50 lines]    Unknown event.
Fileurl_blocked.php                                         [source] [116 lines]   
Fileuser_created.php                                        [source] [139 lines]   User created event.
Fileuser_deleted.php                                        [source] [120 lines]   User deleted event.
Fileuser_enrolment_created.php                              [source] [107 lines]   User enrolment created event.
Fileuser_enrolment_deleted.php                              [source] [109 lines]   User enrolment deleted event.
Fileuser_enrolment_updated.php                              [source] [105 lines]   User enrolment updated event.
Fileuser_graded.php                                         [source] [162 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] [90 lines]    Defines the user list viewed event.
Fileuser_loggedin.php                                       [source] [114 lines]   User login event.
Fileuser_loggedinas.php                                     [source] [113 lines]   User loggedinas event.
Fileuser_loggedout.php                                      [source] [88 lines]    User logout event.
Fileuser_login_failed.php                                   [source] [126 lines]   User login failed event.
Fileuser_password_policy_failed.php                         [source] [89 lines]    Password policy failed event.
Fileuser_password_updated.php                               [source] [124 lines]   User password updated event.
Fileuser_profile_viewed.php                                 [source] [112 lines]   The user profile viewed event.
Fileuser_updated.php                                        [source] [113 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] [94 lines]    Web service function called event.
Filewebservice_login_failed.php                             [source] [111 lines]   Web service login failed event.
Filewebservice_service_created.php                          [source] [91 lines]    Web service service created event.
Filewebservice_service_deleted.php                          [source] [82 lines]    Web service service deleted event.
Filewebservice_service_updated.php                          [source] [82 lines]    Web service service updated event.
Filewebservice_service_user_added.php                       [source] [96 lines]    Web service service user added event.
Filewebservice_service_user_removed.php                     [source] [96 lines]    Web service service user removed event.
Filewebservice_token_created.php                            [source] [108 lines]   Web service token created event.
Filewebservice_token_sent.php                               [source] [72 lines]    Webservice token_sent event.