Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402]

(no description)

File Size: 254 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: core_badges_observer  - X-Ref

Event observer for badges.

course_module_criteria_review(\core\event\course_module_completion_updated $event)   X-Ref
Triggered when 'course_module_completion_updated' event is triggered.

param: \core\event\course_module_completion_updated $event

competency_criteria_review(\core\event\competency_evidence_created $event)   X-Ref
Triggered when '\core\event\competency_evidence_created' event is triggered.

param: \core\event\competency_evidence_created $event

course_criteria_review(\core\event\course_completed $event)   X-Ref
Triggered when 'course_completed' event is triggered.

param: \core\event\course_completed $event

badge_criteria_review(\core\event\badge_awarded $event)   X-Ref
Triggered when 'badge_awarded' event happens.

param: \core\event\badge_awarded $event event generated when a badge is awarded.

profile_criteria_review(\core\event\user_updated $event)   X-Ref
Triggered when 'user_updated' event happens.

param: \core\event\user_updated $event event generated when user profile is updated.

cohort_criteria_review(\core\event\cohort_member_added $event)   X-Ref
Triggered when the 'cohort_member_added' event happens.

param: \core\event\cohort_member_added $event generated when a user is added to a cohort