|
| __construct (public stdClass readonly stdClass $enrolinstance, public stdClass readonly stdClass $userenrolmentinstance,) |
| Constructor for the hook.
|
|
| get_enrolinstance () |
| Get the enrol instance.
|
|
| get_userid () |
| Get the user id.
|
|
◆ __construct()
core_enrol\hook\after_user_enrolled::__construct |
( |
public stdClass readonly stdClass | $enrolinstance, |
|
|
public stdClass readonly stdClass | $userenrolmentinstance ) |
Constructor for the hook.
- Parameters
-
stdClass | $enrolinstance | The enrol instance. |
stdClass | $userenrolmentinstance | The user enrolment instance. |
- Parameters
-
$enrolinstance | The enrol instance |
$userenrolmentinstance | The user enrolment instance |
◆ get_enrolinstance()
core_enrol\hook\after_user_enrolled::get_enrolinstance |
( |
| ) |
|
Get the enrol instance.
- Return values
-
stdClass | The enrol instance. |
◆ get_userid()
core_enrol\hook\after_user_enrolled::get_userid |
( |
| ) |
|
Get the user id.
- Return values
-
The documentation for this class was generated from the following file:
- enrol/classes/hook/after_user_enrolled.php