Trait to handle API hook registrations.
More...
|
| static void | registerApiHook ($hookName, $familyCode, $className) |
| | Register the availability of an API hook.
|
| |
|
|
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.
- 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 |
( |
|
$hookName, |
|
|
|
$familyCode, |
|
|
|
$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 |
- Returns
- void
The documentation for this class was generated from the following file: