Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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.
 
static course_module_created (\core\event\course_module_created $event)
 Observer for core\event\course_module_created event.
 
static course_updated (\core\event\course_updated $event)
 Observer for core\event\course_updated event.
 
static role_assigned (\core\event\role_assigned $event)
 Observer for role_assigned event.
 
static user_enrolment_deleted (\core\event\user_enrolment_deleted $event)
 Triggered via user_enrolment_deleted event.
 

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: