Trait to handle API hook registrations.
More...
|
static void | registerApiHook (string $hookName, string $familyCode, string $className) |
| Register the availability of an API hook.
|
|
|
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.
|
|
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
- Copyright
- SPV Software Products
- Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3
◆ registerApiHook()
static void registerApiHook |
( |
string | $hookName, |
|
|
string | $familyCode, |
|
|
string | $className ) |
|
static |
Register the availability of an API hook.
- Parameters
-
string | $hookName | Name of hook |
string | $familyCode | Family code for current platform |
string | $className | Name of implementing class |