Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Static Public Member Functions | List of all members
mod_forum_observer Class Reference

Event observer for mod_forum. More...

Static Public Member Functions

static course_created (\core\event\course_created $event)
 Observer for core::event::course_created event. More...
 
static course_module_created (\core\event\course_module_created $event)
 Observer for core::event::course_module_created event. More...
 
static course_updated (\core\event\course_updated $event)
 Observer for core::event::course_updated event. More...
 
static role_assigned (\core\event\role_assigned $event)
 Observer for role_assigned event. More...
 
static user_enrolment_deleted (\core\event\user_enrolment_deleted $event)
 Triggered via user_enrolment_deleted event. More...
 

Detailed Description

Event observer for mod_forum.

Member Function Documentation

◆ course_created()

static mod_forum_observer::course_created ( \core\event\course_created  $event)
static

Observer for core::event::course_created event.

Parameters
core::event::course_created$event
Return values
void

◆ course_module_created()

static mod_forum_observer::course_module_created ( \core\event\course_module_created  $event)
static

Observer for core::event::course_module_created event.

Parameters
core::event::course_module_created$event
Return values
void

◆ course_updated()

static mod_forum_observer::course_updated ( \core\event\course_updated  $event)
static

Observer for core::event::course_updated event.

Parameters
core::event::course_updated$event
Return values
void

◆ role_assigned()

static mod_forum_observer::role_assigned ( \core\event\role_assigned  $event)
static

Observer for role_assigned event.

Parameters
core::event::role_assigned$event
Return values
void

◆ user_enrolment_deleted()

static mod_forum_observer::user_enrolment_deleted ( \core\event\user_enrolment_deleted  $event)
static

Triggered via user_enrolment_deleted event.

Parameters
core::event::user_enrolment_deleted$event

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