Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:Old Events API

From MoodleDocs
Revision as of 00:19, 7 June 2011 by B Johnson (talk | contribs) (Created page with "* Gah! Already updated the "Events which exist" list a few weeks ago, but my changes appear to have been lost (and don't appear in the history). Was the page reset during the Moo...")
  • Gah! Already updated the "Events which exist" list a few weeks ago, but my changes appear to have been lost (and don't appear in the history). Was the page reset during the MoodleDocs maintenance?
  • Any how .. here's complete list of events (with raw-ish params used in code) triggered by v2.0.2, according to a code search for "trigger_event":
    • assessable_file_uploaded - $eventdata
    • assessable_files_done - $eventdata
    • cohort_added - $cohort
    • cohort_deleted - $cohort
    • cohort_member_added - {$cohortid, $userid}
    • cohort_member_removed - {$cohortid, $userid}
    • cohort_updated - $cohort
    • course_category_deleted - $category
    • course_content_removed - $course
    • course_created - $course
    • course_deleted - $course
    • course_updated - $course
    • groups_group_created - $group
    • groups_group_deleted - $group
    • groups_group_updated - $group
    • groups_grouping_created - $data
    • groups_grouping_deleted - $grouping
    • groups_grouping_updated - $data
    • groups_groupings_deleted - $courseid
    • groups_groupings_groups_removed - $courseid
    • groups_groups_deleted - $courseid
    • groups_member_added - $eventdata
    • groups_member_removed - $eventdata
    • groups_members_removed - $eventdata
    • mod_created - $eventdata
    • mod_deleted - $eventdata
    • mod_updated - $eventdata
    • portfolio_send - $this->id
    • quiz_attempt_processed - $eventdata
    • quiz_attempt_started - $eventdata
    • role_assigned - $ra
    • role_unassigned - $ra
    • user_created - $user
    • user_deleted - $user
    • user_enrolled - $ue
    • user_logout - $params
    • user_unenrol_modified - $ue
    • user_unenrolled - $ue
    • user_updated - $user

--B Johnson 08:19, 7 June 2011 (WST)