Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Public Member Functions | |
__construct (public context readonly context $context, public int readonly int $userid,) | |
Constructor for the hook. | |
core\hook\access\after_role_assigned::__construct | ( | public context readonly context | $context, |
public int readonly int | $userid ) |
Constructor for the hook.
context | $context | The context of the role assignment. |
int | $userid | The user id of the user. |
$context | The context of the role assignment |
$userid | The user id of the user |