Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_badges_observer Class Reference

Static Public Member Functions

static badge_criteria_review (\core\event\badge_awarded $event)
 Triggered when 'badge_awarded' event happens.
 
static cohort_criteria_review (\core\event\cohort_member_added $event)
 Triggered when the 'cohort_member_added' event happens.
 
static competency_criteria_review (\core\event\competency_evidence_created $event)
 Triggered when 'core\event\competency_evidence_created' event is triggered.
 
static course_criteria_review (\core\event\course_completed $event)
 Triggered when 'course_completed' event is triggered.
 
static course_module_criteria_review (\core\event\course_module_completion_updated $event)
 Triggered when 'course_module_completion_updated' event is triggered.
 
static profile_criteria_review (\core\event\user_updated $event)
 Triggered when 'user_updated' event happens.
 

Member Function Documentation

◆ badge_criteria_review()

static core_badges_observer::badge_criteria_review ( \core\event\badge_awarded $event)
static

Triggered when 'badge_awarded' event happens.

Parameters
core\event\badge_awarded$eventevent generated when a badge is awarded.

◆ cohort_criteria_review()

static core_badges_observer::cohort_criteria_review ( \core\event\cohort_member_added $event)
static

Triggered when the 'cohort_member_added' event happens.

Parameters
core\event\cohort_member_added$eventgenerated when a user is added to a cohort

◆ competency_criteria_review()

static core_badges_observer::competency_criteria_review ( \core\event\competency_evidence_created $event)
static

Triggered when 'core\event\competency_evidence_created' event is triggered.

Parameters
core\event\competency_evidence_created$event

◆ course_criteria_review()

static core_badges_observer::course_criteria_review ( \core\event\course_completed $event)
static

Triggered when 'course_completed' event is triggered.

Parameters
core\event\course_completed$event

◆ course_module_criteria_review()

static core_badges_observer::course_module_criteria_review ( \core\event\course_module_completion_updated $event)
static

Triggered when 'course_module_completion_updated' event is triggered.

Parameters
core\event\course_module_completion_updated$event

◆ profile_criteria_review()

static core_badges_observer::profile_criteria_review ( \core\event\user_updated $event)
static

Triggered when 'user_updated' event happens.

Parameters
core\event\user_updated$eventevent generated when user profile is updated.

The documentation for this class was generated from the following file: