Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core\event Namespace Reference

  More...

Classes

class  antivirus_scan_data_error
 Antivirus scan data error event. More...
 
class  antivirus_scan_file_error
 Antivirus scan file error event. More...
 
class  assessable_submitted
 Abstract assessable submitted event class. More...
 
class  assessable_uploaded
 Abstract assessable uploaded event class. More...
 
class  badge_awarded
 Event triggered after a badge is awarded to a user. More...
 
class  badge_criteria_created
 Event triggered after criteria is created for a badge. More...
 
class  badge_criteria_deleted
 Event triggered after criteria is deleted from a badge. More...
 
class  badge_criteria_updated
 Event triggered after criteria is updated to a badge. More...
 
class  badge_deleted
 Event triggered after a badge is deleted. More...
 
class  badge_listing_viewed
 Event triggered after a badge is viewed. More...
 
class  badge_revoked
 Event triggered after a badge is revoked from a user. More...
 
class  base
 Base event class. More...
 
class  blog_association_deleted
 Class for event to be triggered when a new blog entry is deleted with a context. More...
 
class  blog_comment_created
 The blog comment created event class. More...
 
class  blog_comment_deleted
 The blog comment deleted event class. More...
 
class  blog_entries_viewed
 Class for event to be triggered when blog entries are viewed. More...
 
class  blog_external_removed
 Class for event to be triggered when an external blog is removed from moodle. More...
 
class  blog_external_viewed
 Class for event to be triggered when an external blog is viewed to moodle. More...
 
class  calendar_subscription_created
 Event triggered after a calendar subscription is added. More...
 
class  calendar_subscription_deleted
 Event triggered after a calendar subscription is deleted. More...
 
class  calendar_subscription_updated
 Event triggered after a calendar subscription is updated. More...
 
class  capability_assigned
 Capability assigned event class. More...
 
class  capability_unassigned
 Capability unassigned event class. More...
 
class  cohort_created
 Cohort created event class. More...
 
class  cohort_deleted
 Cohort deleted event class. More...
 
class  cohort_updated
 Cohort updated event class. More...
 
class  comments_viewed
 Abstract comments viewed event class. More...
 
class  competency_comment_created
 Comment created event class for core_competency areas. More...
 
class  competency_comment_deleted
 Comment deleted event class for core_competency areas. More...
 
class  competency_created
 Competency created event class. More...
 
class  competency_deleted
 Competency deleted event class. More...
 
class  competency_framework_created
 Competency framework created event class. More...
 
class  competency_framework_deleted
 Competency framework deleted event class. More...
 
class  competency_framework_updated
 Competency framework updated event class. More...
 
class  competency_framework_viewed
 Competency framework viewed event class. More...
 
class  competency_plan_approved
 Plan approved event class. More...
 
class  competency_plan_completed
 Plan completed event class. More...
 
class  competency_plan_created
 Plan created event class. More...
 
class  competency_plan_deleted
 Plan deleted event class. More...
 
class  competency_plan_reopened
 Plan reopened event class. More...
 
class  competency_plan_review_request_cancelled
 Plan review request cancelled event class. More...
 
class  competency_plan_review_requested
 Plan review requested event class. More...
 
class  competency_plan_review_started
 Plan review started event class. More...
 
class  competency_plan_review_stopped
 Plan review stopped event class. More...
 
class  competency_plan_unapproved
 Plan unapproved event class. More...
 
class  competency_plan_unlinked
 Plan unlinked event class. More...
 
class  competency_plan_updated
 Plan updated event class. More...
 
class  competency_plan_viewed
 Plan viewed event class. More...
 
class  competency_template_created
 Template created event class. More...
 
class  competency_template_deleted
 Template deleted event class. More...
 
class  competency_template_updated
 Template updated event class. More...
 
class  competency_template_viewed
 Template viewed event class. More...
 
class  competency_updated
 Competency updated event class. More...
 
class  competency_user_competency_plan_viewed
 User competency plan viewed event class. More...
 
class  competency_user_competency_rated
 User competency grade rated event class. More...
 
class  competency_user_competency_rated_in_course
 User competency grade rated in course event class. More...
 
class  competency_user_competency_rated_in_plan
 User competency grade rated in plan event class. More...
 
class  competency_user_competency_viewed_in_course
 User competency viewed in course event class. More...
 
class  competency_user_competency_viewed_in_plan
 User competency viewed in plan event class. More...
 
class  competency_user_evidence_created
 Evidence of prior learning created event class. More...
 
class  competency_user_evidence_deleted
 Evidence of prior learning deleted event class. More...
 
class  competency_user_evidence_updated
 Evidence of prior learning updated event class. More...
 
class  competency_viewed
 Competency viewed event class. More...
 
class  config_log_created
 Event class for when an admin config log is created. More...
 
class  contentbank_content_created
 Content bank content created class. More...
 
class  contentbank_content_deleted
 Content bank content deleted class. More...
 
class  contentbank_content_updated
 Content bank content updated class. More...
 
class  contentbank_content_uploaded
 Content bank content uploaded class. More...
 
class  contentbank_content_viewed
 Content bank content updated class. More...
 
class  context_locked
 Event triggered after a context has been frozen. More...
 
class  context_unlocked
 Event triggered after a context has been unfrozen. More...
 
class  course_backup_created
 Course backup created event class. More...
 
class  course_category_created
 Course category created event class. More...
 
class  course_category_updated
 Course category updated event class. More...
 
class  course_category_viewed
 Course category viewed event class. More...
 
class  course_completed
 Course completed event class. More...
 
class  course_completion_updated
 Course module completion updated event class. More...
 
class  course_information_viewed
 Course information viewed event class. More...
 
class  course_module_deleted
 Class course_module_deleted. More...
 
class  course_module_instance_list_viewed
 Course module instance list viewed event class. More...
 
class  course_module_instances_list_viewed
 This class has been deprecated, please use core\event\course_module_instance_list_viewed. More...
 
class  course_module_viewed
 Abstract Course module viewed event class. More...
 
class  course_resources_list_viewed
 Event for viewing the list of course resources. More...
 
class  course_section_deleted
 Course section deleted event class. More...
 
class  course_updated
 Course updated event class. More...
 
class  course_user_report_viewed
 Course user report viewed event class. More...
 
class  course_viewed
 Course viewed event class. More...
 
class  dashboard_reset
 Dashboard reset event class. More...
 
class  dashboard_viewed
 Dashboard viewed event class. More...
 
class  dashboards_reset
 Dashboards reset event class. More...
 
class  database_text_field_content_replaced
 The database text field content replaced event class. More...
 
class  grade_exported
 Abstract grade report exported event class. More...
 
class  grade_item_deleted
 Grade item deleted event class. More...
 
class  grade_item_updated
 Grade item updated event class. More...
 
class  grade_letter_created
 Grade letter created event class. More...
 
class  grade_letter_deleted
 Grade letter deleted event class. More...
 
class  grade_letter_updated
 Grade letter updated event class. More...
 
class  grade_report_viewed
 Grade report viewed event class. More...
 
class  group_created
 Group created event class. More...
 
class  group_deleted
 Group deleted event class. More...
 
class  group_message_sent
 Group message sent event class. More...
 
class  group_updated
 Group updated event class. More...
 
class  grouping_created
 Grouping created event class. More...
 
class  grouping_deleted
 Grouping deleted event class. More...
 
class  grouping_group_assigned
 Group assigned to grouping event class. More...
 
class  grouping_group_unassigned
 Group unassigned from grouping event class. More...
 
class  grouping_updated
 Grouping updated event class. More...
 
class  insights_viewed
 Event triggered after a user views the insights page. More...
 
class  manager
 New event manager class. More...
 
class  message_deleted
 Message deleted event class. More...
 
class  message_sent
 Message sent event class. More...
 
class  message_viewed
 Message viewed event class. More...
 
class  moodlenet_resource_exported
 MoodleNet send attempt event. More...
 
class  mycourses_viewed
 My courses viewed event class. More...
 
class  notes_viewed
 Class note_viewed. More...
 
class  notification_sent
 Notification sent event class. More...
 
class  qbank_plugin_base
 Question bank plugin event. More...
 
class  qbank_plugin_disabled
 Question bank plugin was disabled. More...
 
class  qbank_plugin_enabled
 Question bank plugin was enabled. More...
 
class  question_base
 Base class for question events. More...
 
class  question_category_base
 Base class for question category events. More...
 
class  question_category_created
 Question category created event class. More...
 
class  question_category_deleted
 Question category deleted event class. More...
 
class  question_category_moved
 Question category moved event class. More...
 
class  question_category_updated
 Question category updated event class. More...
 
class  question_category_viewed
 Question category viewed event class. More...
 
class  question_created
 Question created event class. More...
 
class  question_deleted
 Question deleted event class. More...
 
class  question_moved
 Question moved event class. More...
 
class  question_updated
 Question updated event class. More...
 
class  question_viewed
 Question previewed event class. More...
 
class  questions_exported
 Question category exported event class. More...
 
class  questions_imported
 Question category imported event class. More...
 
class  recent_activity_viewed
 Event for recent activity page. More...
 
class  role_allow_assign_updated
 Role assignments updated event class. More...
 
class  role_allow_override_updated
 Role allow override updated event class. More...
 
class  role_allow_switch_updated
 Role allow switch updated event class. More...
 
class  role_allow_view_updated
 Role allow view updated event class. More...
 
class  role_capabilities_updated
 Role updated event class. More...
 
class  scale_created
 Scale created event class. More...
 
class  scale_deleted
 Scale deleted event class. More...
 
class  scale_updated
 Scale updated event class. More...
 
class  search_indexed
 Event when new data has been indexed. More...
 
class  search_results_viewed
 Search results viewed. More...
 
class  tag_collection_created
 Tag collection created event class. More...
 
class  tag_collection_deleted
 Tag collection deleted event class. More...
 
class  tag_collection_updated
 Tag collection updated event class. More...
 
class  tag_created
 Tag created event class. More...
 
class  tag_deleted
 Tag deleted event class. More...
 
class  tag_flagged
 Tag flagged event class. More...
 
class  tag_unflagged
 Tag unflagged event. More...
 
class  tag_updated
 Tag updated event. More...
 
class  unknown_logged
 Unknown event class. More...
 
class  url_blocked
 URL blocked event class. More...
 
class  user_deleted
 User deleted event class. More...
 
class  user_enrolment_created
 Event class for when user is enrolled in a course. More...
 
class  user_enrolment_updated
 Event class for when user enrolment is updated. More...
 
class  user_graded
 Event triggered after teacher edits manual grade or overrides activity/aggregated grade. More...
 
class  user_list_viewed
 Defines the user list viewed event. More...
 
class  user_loggedout
 Event when user logout. More...
 
class  user_login_failed
 User login failed event class. More...
 
class  user_password_policy_failed
 Event when user's current password fails the password policy. More...
 
class  user_password_updated
 Event when user password is changed or reset. More...
 
class  userfeedback_give
 Class userfeedback_give. More...
 
class  userfeedback_remind
 Class userfeedback_remind. More...
 
class  virus_infected_data_detected
 Data infected event. More...
 
class  virus_infected_file_detected
 Fle infected event. More...
 
class  webservice_service_created
 Web service service created event class. More...
 
class  webservice_service_deleted
 Web service service deleted event class. More...
 
class  webservice_service_updated
 Web service service updated event class. More...
 
class  webservice_token_created
 Web service token created event class. More...
 
class  webservice_token_sent
 Webservice token sent event class. More...
 

Functions

static get_other_mapping ()
 Used for maping events on restore.
 

Detailed Description

 

Webservice token_sent event.

Web service token created event.

Web service service user removed event.

Web service service user added event.

Web service service updated event.

Web service service deleted event.

Web service service created event.

Web service login failed event.

Web service function called event.

Fle infected event.

Data infected event.

Feedback remind.

Feedback given.

User updated event.

The user profile viewed event.

User password updated event.

Password policy failed event.

User login failed event.

User logout event.

User loggedinas event.

User login event.

Defines the user list viewed event.

User profile info field updated event.

User profile info field deleted event.

User profile field updated event.

User profile field deleted event.

User profile field created event.

Grade edited event.

User enrolment updated event.

User enrolment deleted event.

User enrolment created event.

User deleted event.

User created event.

Unknown event.

Tag updated event.

Tag unflagged event.

The tag removed event.

Tag flagged event.

Tag deleted event.

Tag created event.

Tag collection updated event.

Tag collection deleted event.

Tag collection created event.

The tag added event.

Search results viewed.

Data indexed event.

Scale updated event.

Scale deleted event.

Scale created event.

Role unassigned event.

Role updated event.

Role assigned event.

Role allow view updated event.

Role allow switch updated event.

Role allow override updated event.

Role assignments updated event.

Event for recent activity page.

Questions imported event.

Questions exported event.

Question previewed event.

Question updated event.

Question moved event.

Question deleted event.

Question created event.

Question category viewed event.

Question category updated event.

Question category moved event.

Question category deleted event.

Question category created event.

Base class for question category events.

Base class for question events.

Prediction action clicked event.

Notification viewed event.

Notification sent event.

Event for when a new note entry viewed.

Event for when a new note entry is updated.

Event for when a new note entry deleted.

Event for when a new note entry is added.

Mnet access control updated event.

Mnet access control created event.

Message viewed event.

Message users unblocked event.

Message user blocked event.

Message sent event.

Message deleted event.

Message contact removed event.

Message contact added event.

Insights page viewed event.

Grouping updated event.

Group unassigned from grouping event.

Group assigned to grouping event.

Grouping deleted event.

Grouping created event.

Group updated event.

Group message sent event.

Group member removed event.

Group member added event.

Group deleted event.

Group created event.

Grade report viewed event.

Grade letter updated event.

Grade letter deleted event.

Grade letter created event.

Grade item updated event.

Grade item deleted event.

Grade item created event.

Grade deleted event.

Enrol instance updated event.

Enrol instance deleted event.

Enrol instance created event.

Email failed event.

The database text field content replaced event.

Dashboards reset event.

Dashboard viewed event.

Dashboard reset event.

Courses searched event.

Course viewed event.

Course user report viewed event.

Course updated event.

Course section updated event.

Course section deleted event.

Course section created event.

Course restored event.

Event for viewing the list of course resources.

core course reset started event.

The course reset ended event.

Course module viewed event.

Event to be triggered when a new course module is updated.

Course module instances list_viewed event.

Course module instance list viewed event.

Event to be triggered when a new course module is deleted.

Event to be triggered when a new course module is created.

Course module completion event.

Course information viewed event.

Course deleted event.

Course created event.

Course content deleted event.

Course module completion updated event.

Course completed event.

Course category viewed event.

Course category updated event.

Category deleted event.

Course category created event.

Course backup created event.

Context unlocked event.

Context locked event.

Contentbank content viewed event.

Contentbank content uploaded event.

Contentbank content deleted event.

Contentbank content created event.

Abstract event for content viewing.

Config log created.

Default completion for activity in a course updated event.

Competency viewed event.

Evidence of prior learning updated event.

Evidence of prior learning deleted event.

Evidence of prior learning created event.

User competency viewed event.

User competency review stopped event.

User competency review started event.

User competency review requested event.

User competency grade rated in course event.

User competency grade rated event.

User competency plan viewed event.

Competency updated event.

Template viewed event.

Template updated event.

Template deleted event.

Template created event.

Plan viewed event.

Plan updated event.

Plan unlinked event.

Plan unapproved event.

Plan review stopped event.

Plan review started event.

Plan review requested event.

Plan review request cancelled event.

Plan reopened event.

Plan deleted event.

Plan created event.

Plan completed event.

Plan approved event.

Competency framework viewed event.

Competency framework updated event.

Competency framework deleted event.

Competency framework created event.

Evidence created event.

Competency deleted event.

Competency created event.

Comment deleted event for core_competency areas.

Comment created event for core_competency areas.

Abstract comments viewed event.

Abstract comment deleted event.

Abstract comment created event.

User removed from a cohort event.

User added to a cohort event.

Cohort deleted event.

Cohort updated event.

Capability unassigned event.

Capability assigned event.

calendar subscription updated event.

calendar subscription deleted event.

calendar subscription added event.

Calendar event updated event.

Calendar event deleted event.

Calendar event created event.

Event to be triggered when a blog entry is updated.

Event for when a new blog entry is deleted.

Event for when a new blog entry is added.

Event for when blog entries are viewed.

The blog comment deleted event.

The blog comment created event.

Event for when a new blog entry is associated with a context.

Badge viewed event.

Badge updated event.

Badge revoked event.

Badge listing viewed event.

Badge enabled event.

Badge duplicated event.

Badge disabled event.

Badge deleted event.

Badge criteria updated event.

Badge criteria deleted event.

Badge criteria created event.

Badge created event.

Badge awarded event.

Badge archived event.

Abstract assessable uploaded event.

Abstract assessable submitted event.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 Extra information about event.

 - int expiredate: Badge expire timestamp.
 - int badgeissuedid: Badge issued ID.

}

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 Extra information about event.

 - int expiredate: Badge expire timestamp.
 - int badgeissuedid: Badge issued ID.

}

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 3.8
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

This class has been deprecated, please extend base event or other relevent abstract class.

Deprecated
since Moodle 2.7
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Author
Neill Magill neill.nosp@m..mag.nosp@m.ill@n.nosp@m.otti.nosp@m.ngham.nosp@m..ac..nosp@m.uk
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.

This class has been deprecated, please use core\event\course_module_instance_list_viewed.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 2.7
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 Extra information about event.

 - string modelid: The model id

}

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 Extra information about event.

 - string actionname: The action name

}

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 2.6
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 3.4
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 2.6
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 2.7
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Author
Nathan Nguyen natha.nosp@m.nngu.nosp@m.yen@c.nosp@m.atal.nosp@m.yst-a.nosp@m.u.ne.nosp@m.t
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later