Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
Event handler for category enrolment plugin. More...
Static Public Member Functions | |
static | role_assigned (\core\event\role_assigned $event) |
Triggered when user is assigned a new role. | |
static | role_unassigned (\core\event\role_unassigned $event) |
Triggered when user role is unassigned. | |
Event handler for category enrolment plugin.
We try to keep everything in sync via listening to events, it may fail sometimes, so we always do a full sync in cron too.
|
static |
Triggered when user is assigned a new role.
core\event\role_assigned | $event |
|
static |
Triggered when user role is unassigned.
core\event\role_unassigned | $event |