Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | Static Protected Attributes | List of all members
mod_lesson\group_observers Class Reference

Group observers class. More...

Static Public Member Functions

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

Static Protected Attributes

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

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: