Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_quiz\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 group_member_added ($event)
 A group member was removed.
 
static group_member_removed ($event)
 A group member 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_quiz\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_quiz\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_quiz\group_observers::group_deleted ( $event)
static

A group was deleted.

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

◆ group_member_added()

static mod_quiz\group_observers::group_member_added ( $event)
static

A group member was removed.

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

◆ group_member_removed()

static mod_quiz\group_observers::group_member_removed ( $event)
static

A group member was deleted.

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

Member Data Documentation

◆ $resetinprogress

int mod_quiz\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: