Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
mod_lesson\group_observers Class Reference

Group observers class. More...

Static Public Member Functions

static course_reset_ended ($event)
 A course reset has ended.
 
static course_reset_started ($event)
 A course reset has started.
 
static group_deleted ($event)
 A group was deleted.
 

Static Protected Attributes

static int $resetinprogress = false
 Flag whether a course reset is in progress or not.
 

Detailed Description

Group observers class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ course_reset_ended()

static mod_lesson\group_observers::course_reset_ended ( $event)
static

A course reset has ended.

Parameters
core\event\base$eventThe event.
Return values
void

◆ course_reset_started()

static mod_lesson\group_observers::course_reset_started ( $event)
static

A course reset has started.

Parameters
core\event\base$eventThe event.
Return values
void

◆ group_deleted()

static mod_lesson\group_observers::group_deleted ( $event)
static

A group was deleted.

Parameters
core\event\base$eventThe event.
Return values
void

Member Data Documentation

◆ $resetinprogress

int mod_lesson\group_observers::$resetinprogress = false
staticprotected

Flag whether a course reset is in progress or not.

The course ID.


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