Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Event observer for meta enrolment plugin.

Copyright: 2013 Rajesh Taneja <rajesh@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 233 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: enrol_meta_observer  - X-Ref

Event observer for enrol_meta.

user_enrolment_created(\core\event\user_enrolment_created $event)   X-Ref
Triggered via user_enrolment_created event.

return: bool true on success.
param: \core\event\user_enrolment_created $event

user_enrolment_deleted(\core\event\user_enrolment_deleted $event)   X-Ref
Triggered via user_enrolment_deleted event.

return: bool true on success.
param: \core\event\user_enrolment_deleted $event

user_enrolment_updated(\core\event\user_enrolment_updated $event)   X-Ref
Triggered via user_enrolment_updated event.

return: bool true on success
param: \core\event\user_enrolment_updated $event

role_assigned(\core\event\role_assigned $event)   X-Ref
Triggered via role_assigned event.

return: bool true on success.
param: \core\event\role_assigned $event

role_unassigned(\core\event\role_unassigned $event)   X-Ref
Triggered via role_unassigned event.

return: bool true on success
param: \core\event\role_unassigned $event

course_deleted(\core\event\course_deleted $event)   X-Ref
Triggered via course_deleted event.

return: bool true on success
param: \core\event\course_deleted $event

enrol_instance_updated(\core\event\enrol_instance_updated $event)   X-Ref
Triggered via enrol_instance_updated event.

return: boolean
param: \core\event\enrol_instance_updated $event