Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_enrol\hook\before_enrol_instance_deleted Class Reference
Inheritance diagram for core_enrol\hook\before_enrol_instance_deleted:
Psr\EventDispatcher\StoppableEventInterface

Public Member Functions

 __construct (public stdClass readonly stdClass $enrolinstance,)
 Constructor for the hook.
 
 isPropagationStopped ()
 Is propagation stopped?
 

Constructor & Destructor Documentation

◆ __construct()

core_enrol\hook\before_enrol_instance_deleted::__construct ( public stdClass readonly stdClass $enrolinstance)

Constructor for the hook.

Parameters
stdClass$enrolinstanceThe enrol instance.
Parameters
$enrolinstanceThe enrol instance

Member Function Documentation

◆ isPropagationStopped()

Psr\EventDispatcher\StoppableEventInterface::isPropagationStopped ( )
inherited

Is propagation stopped?

This will typically only be used by the Dispatcher to determine if the previous listener halted propagation.

Return values
boolTrue if the Event is complete and no further listeners should be called. False to continue calling listeners.

The documentation for this class was generated from the following file: