Trait to handle API hook registrations. More...
Static Public Member Functions | |
static | registerApiHook ($hookName, $familyCode, $className) |
Register the availability of an API hook. | |
Static Public Attributes | |
static | $USER_ID_HOOK = "UserId" |
User Id hook name. | |
static | $CONTEXT_ID_HOOK = "ContextId" |
Context Id hook name. | |
static | $GROUPS_SERVICE_HOOK = "Groups" |
Course Groups service hook name. | |
static | $MEMBERSHIPS_SERVICE_HOOK = "Memberships" |
Memberships service hook name. | |
static | $OUTCOMES_SERVICE_HOOK = "Outcomes" |
Outcomes service hook name. | |
static | $TOOL_SETTINGS_SERVICE_HOOK = "ToolSettings" |
Tool Settings service hook name. | |
static | $ACCESS_TOKEN_SERVICE_HOOK = "AccessToken" |
Access Token service hook name. | |
Trait to handle API hook registrations.
Definition at line 12 of file ApiHook.php.
|
static |
Register the availability of an API hook.
string | $hookName | Name of hook |
string | $familyCode | Family code for current platform |
string | $className | Name of implementing class |
Definition at line 62 of file ApiHook.php.
|
static |
Access Token service hook name.
Definition at line 48 of file ApiHook.php.
|
static |
Context Id hook name.
Definition at line 23 of file ApiHook.php.
|
static |
Course Groups service hook name.
Definition at line 28 of file ApiHook.php.
|
static |
Memberships service hook name.
Definition at line 33 of file ApiHook.php.
|
static |
Outcomes service hook name.
Definition at line 38 of file ApiHook.php.
|
static |
Tool Settings service hook name.
Definition at line 43 of file ApiHook.php.
|
static |
User Id hook name.
Definition at line 18 of file ApiHook.php.