LTI Integration Library 5.1.4
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
ApiHook Class Reference

Trait to handle API hook registrations. More...

+ Inheritance diagram for ApiHook:

Static Public Member Functions

static void registerApiHook (string $hookName, string $familyCode, string $className)
 Register the availability of an API hook.
 

Static Public Attributes

static string $USER_ID_HOOK = "UserId"
 User Id hook name.
 
static string $CONTEXT_ID_HOOK = "ContextId"
 Context Id hook name.
 
static string $GROUPS_SERVICE_HOOK = "Groups"
 Course Groups service hook name.
 
static string $MEMBERSHIPS_SERVICE_HOOK = "Memberships"
 Memberships service hook name.
 
static string $OUTCOMES_SERVICE_HOOK = "Outcomes"
 Outcomes service hook name.
 
static string $TOOL_SETTINGS_SERVICE_HOOK = "ToolSettings"
 Tool Settings service hook name.
 
static string $ACCESS_TOKEN_SERVICE_HOOK = "AccessToken"
 Access Token service hook name.
 

Detailed Description

Trait to handle API hook registrations.

Author
Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3

Member Function Documentation

◆ registerApiHook()

static void registerApiHook ( string $hookName,
string $familyCode,
string $className )
static

Register the availability of an API hook.

Parameters
string$hookNameName of hook
string$familyCodeFamily code for current platform
string$classNameName of implementing class