Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

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.

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

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

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

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

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

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

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

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

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

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

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

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

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