ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Data Structures | |
class | ApiContext |
Class to implement context services for a platform via its proprietary API. More... | |
class | ApiPlatform |
Class to implement services for a platform via its proprietary API. More... | |
class | ApiResourceLink |
Class to implement resource link services for a platform via its proprietary API. More... | |
class | ApiTool |
Class to implement tool specific functions for LTI messages. More... | |
Functions | |
static | registerApiHook (string $hookName, string $familyCode, string $className) |
Register the availability of an API hook. More... | |
static | getApiHook (string $hookName, string $familyCode) |
Get the class name for an API hook. More... | |
static | hasApiHook (string $hookName, string $familyCode) |
Check if an API hook is registered. More... | |
static | hasConfiguredApiHook (string $hookName, string $familyCode, $sourceObject) |
Check if an API hook is registered and configured. More... | |
Variables | |
trait | ApiHook |
Trait to handle API hook registrations. More... | |
static string | $CONTEXT_ID_HOOK = "ContextId" |
Context Id hook name. More... | |
static string | $GROUPS_SERVICE_HOOK = "Groups" |
Course Groups service hook name. More... | |
static string | $MEMBERSHIPS_SERVICE_HOOK = "Memberships" |
Memberships service hook name. More... | |
static string | $OUTCOMES_SERVICE_HOOK = "Outcomes" |
Outcomes service hook name. More... | |
static string | $TOOL_SETTINGS_SERVICE_HOOK = "ToolSettings" |
Tool Settings service hook name. More... | |
static string | $ACCESS_TOKEN_SERVICE_HOOK = "AccessToken" |
Access Token service hook name. More... | |
static array | $API_HOOKS = array() |
API hook class names. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
|
staticprivate |
Get the class name for an API hook.
string | $hookName | Name of hook |
string | $familyCode | Family code for current platform |
Definition at line 88 of file ApiHook.php.
References ILIAS\LTI\ToolProvider\ApiHook\$API_HOOKS.
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate(), ILIAS\LTI\ToolProvider\ResourceLink\doOutcomesService(), ILIAS\LTI\ToolProvider\Context\getGroups(), ILIAS\LTI\ToolProvider\Context\getMemberships(), ILIAS\LTI\ToolProvider\ResourceLink\getMemberships(), ILIAS\LTI\ToolProvider\Platform\getToolSettings(), ILIAS\LTI\ToolProvider\Context\getToolSettings(), ILIAS\LTI\ToolProvider\ResourceLink\getToolSettings(), ILIAS\LTI\ToolProvider\Platform\setToolSettings(), ILIAS\LTI\ToolProvider\Context\setToolSettings(), and ILIAS\LTI\ToolProvider\ResourceLink\setToolSettings().
|
staticprivate |
Check if an API hook is registered.
string | $hookName | Name of hook |
string | $familyCode | Family code for current platform |
Definition at line 100 of file ApiHook.php.
References ILIAS\LTI\ToolProvider\ApiHook\$API_HOOKS.
|
staticprivate |
Check if an API hook is registered and configured.
string | $hookName | Name of hook |
string | $familyCode | |
Platform | Context | ResourceLink | $sourceObject | Source object for which hook is to be used //UK: added: | |
\ILIAS\LTI\ToolProvider\Platform | \ILIAS\LTI\ToolProvider\Context | \ILIAS\LTI\ToolProvider\ResourceLink | \ILIAS\LTI\ToolProvider\Tool | $sourceObject | Source object for which hook is to be used |
Definition at line 115 of file ApiHook.php.
References ILIAS\LTI\ToolProvider\ApiHook\$API_HOOKS.
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate(), ILIAS\LTI\ToolProvider\ResourceLink\doOutcomesService(), ILIAS\LTI\ToolProvider\Context\getGroups(), ILIAS\LTI\ToolProvider\Context\getMemberships(), ILIAS\LTI\ToolProvider\ResourceLink\getMemberships(), ILIAS\LTI\ToolProvider\Platform\getToolSettings(), ILIAS\LTI\ToolProvider\Context\getToolSettings(), ILIAS\LTI\ToolProvider\ResourceLink\getToolSettings(), ILIAS\LTI\ToolProvider\Platform\hasAccessTokenService(), ILIAS\LTI\ToolProvider\Context\hasGroupService(), ILIAS\LTI\ToolProvider\Context\hasMembershipsService(), ILIAS\LTI\ToolProvider\ResourceLink\hasMembershipsService(), ILIAS\LTI\ToolProvider\ResourceLink\hasOutcomesService(), ILIAS\LTI\ToolProvider\Platform\hasToolSettingsService(), ILIAS\LTI\ToolProvider\Context\hasToolSettingsService(), ILIAS\LTI\ToolProvider\ResourceLink\hasToolSettingsService(), ILIAS\LTI\ToolProvider\Platform\setToolSettings(), ILIAS\LTI\ToolProvider\Context\setToolSettings(), and ILIAS\LTI\ToolProvider\ResourceLink\setToolSettings().
|
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 77 of file ApiHook.php.
References ILIAS\LTI\ToolProvider\ApiHook\$API_HOOKS.
|
static |
Access Token service hook name.
Definition at line 63 of file ApiHook.php.
Referenced by ILIAS\LTI\ToolProvider\Platform\hasAccessTokenService().
|
staticprivate |
API hook class names.
Definition at line 68 of file ApiHook.php.
Referenced by ILIAS\LTI\ToolProvider\ApiHook\getApiHook(), ILIAS\LTI\ToolProvider\ApiHook\hasApiHook(), ILIAS\LTI\ToolProvider\ApiHook\hasConfiguredApiHook(), and ILIAS\LTI\ToolProvider\ApiHook\registerApiHook().
|
static |
Context Id hook name.
Definition at line 38 of file ApiHook.php.
Referenced by ILIAS\LTI\ToolProvider\Tool\authenticate().
|
static |
Course Groups service hook name.
Definition at line 43 of file ApiHook.php.
Referenced by ILIAS\LTI\ToolProvider\Context\getGroups(), and ILIAS\LTI\ToolProvider\Context\getMemberships().
|
static |
Memberships service hook name.
Definition at line 48 of file ApiHook.php.
Referenced by ILIAS\LTI\ToolProvider\Context\getMemberships(), ILIAS\LTI\ToolProvider\ResourceLink\getMemberships(), ILIAS\LTI\ToolProvider\Context\hasGroupService(), ILIAS\LTI\ToolProvider\Context\hasMembershipsService(), and ILIAS\LTI\ToolProvider\ResourceLink\hasMembershipsService().
|
static |
Outcomes service hook name.
Definition at line 53 of file ApiHook.php.
Referenced by ILIAS\LTI\ToolProvider\ResourceLink\doOutcomesService(), and ILIAS\LTI\ToolProvider\ResourceLink\hasOutcomesService().
|
static |
Tool Settings service hook name.
Definition at line 58 of file ApiHook.php.
Referenced by ILIAS\LTI\ToolProvider\Platform\getToolSettings(), ILIAS\LTI\ToolProvider\Context\getToolSettings(), ILIAS\LTI\ToolProvider\ResourceLink\getToolSettings(), ILIAS\LTI\ToolProvider\Platform\hasToolSettingsService(), ILIAS\LTI\ToolProvider\Context\hasToolSettingsService(), ILIAS\LTI\ToolProvider\ResourceLink\hasToolSettingsService(), ILIAS\LTI\ToolProvider\Platform\setToolSettings(), ILIAS\LTI\ToolProvider\Context\setToolSettings(), and ILIAS\LTI\ToolProvider\ResourceLink\setToolSettings().
trait ILIAS::LTI::ToolProvider::ApiHook\ApiHook |
Trait to handle API hook registrations.
Definition at line 29 of file ApiHook.php.