|
| __construct (public stdClass readonly stdClass $enrolinstance, public stdClass readonly stdClass $userenrolmentinstance, public bool readonly bool $statusmodified, public bool readonly bool $timeendmodified,) |
| Constructor for the hook.
|
|
| get_userid () |
| Get the user id.
|
|
◆ __construct()
core_enrol\hook\before_user_enrolment_updated::__construct |
( |
public stdClass readonly stdClass | $enrolinstance, |
|
|
public stdClass readonly stdClass | $userenrolmentinstance, |
|
|
public bool readonly bool | $statusmodified, |
|
|
public bool readonly bool | $timeendmodified ) |
Constructor for the hook.
- Parameters
-
stdClass | $enrolinstance | The enrol instance. |
stdClass | $userenrolmentinstance | The user enrolment instance. |
bool | $statusmodified | Whether the status of the enrolment has been modified. |
bool | $timeendmodified | Whether the time end of the enrolment has been modified. |
- Parameters
-
$enrolinstance | The enrol instance |
$userenrolmentinstance | The user enrolment instance |
$statusmodified | Whether the status of the enrolment has been modified |
$timeendmodified | Whether the time end of the enrolment has been modified |
◆ get_userid()
core_enrol\hook\before_user_enrolment_updated::get_userid |
( |
| ) |
|
Get the user id.
- Return values
-
The documentation for this class was generated from the following file:
- enrol/classes/hook/before_user_enrolment_updated.php