Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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