![]() |
LTI Integration Library
3.1.0
PHP class library for building LTI integrations
|
Trait to handle API hook registrations. More...
Static Public Member Functions | |
| static | registerApiHook ($hookName, $familyCode, $className) |
| Register the availability of an API hook. More... | |
Static Public Attributes | |
| static | $USER_ID_HOOK = "UserId" |
| User Id hook name. More... | |
| static | $CONTEXT_ID_HOOK = "ContextId" |
| Context Id hook name. More... | |
| static | $MEMBERSHIPS_SERVICE_HOOK = "Memberships" |
| Memberships service hook name. More... | |
| static | $OUTCOMES_SERVICE_HOOK = "Outcomes" |
| Outcomes service hook name. More... | |
| static | $TOOL_SETTINGS_SERVICE_HOOK = "ToolSettings" |
| Tool Settings service hook name. More... | |
Trait to handle API hook registrations.
Definition at line 13 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 53 of file ApiHook.php.
|
static |
Context Id hook name.
Definition at line 24 of file ApiHook.php.
|
static |
Memberships service hook name.
Definition at line 29 of file ApiHook.php.
|
static |
Outcomes service hook name.
Definition at line 34 of file ApiHook.php.
|
static |
Tool Settings service hook name.
Definition at line 39 of file ApiHook.php.
|
static |
User Id hook name.
Definition at line 19 of file ApiHook.php.