Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

(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