ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (int $a_ref_id) | |
ilObjLTIConsumerLaunch constructor. More... | |
getContext (?array $a_valid_types=array('crs', 'grp', 'cat', 'root')) | |
get info about the context in which the link is used The most outer matching course or group is used If not found the most inner category or root node is used More... | |
Static Public Member Functions | |
static | getLTIContextType (string $a_type) |
static | signOAuth (array $a_params) |
sign request data with OAuth More... | |
Protected Attributes | |
int | $ref_id |
Definition at line 31 of file class.ilLTIConsumerLaunch.php.
ilLTIConsumerLaunch::__construct | ( | int | $a_ref_id | ) |
ilObjLTIConsumerLaunch constructor.
Definition at line 39 of file class.ilLTIConsumerLaunch.php.
ilLTIConsumerLaunch::getContext | ( | ?array | $a_valid_types = array('crs', 'grp', 'cat', 'root') | ) |
get info about the context in which the link is used The most outer matching course or group is used If not found the most inner category or root node is used
array | null | $a_valid_types | list of valid types |
Definition at line 52 of file class.ilLTIConsumerLaunch.php.
References $context, $DIC, and $path.
Referenced by ilLTIConsumerContentGUI\getLaunchParameters(), and ilLTIConsumerContentGUI\getLaunchParametersLTI13().
|
static |
Definition at line 83 of file class.ilLTIConsumerLaunch.php.
Referenced by ilLTIConsumerContentGUI\getLaunchParameters(), and ilLTIConsumerContentGUI\getLaunchParametersLTI13().
|
static |
sign request data with OAuth
array | ( "method => signature methos "key" => consumer key "secret" => shared secret "token" => request token "url" => request url data => array (key => value) ) |
Definition at line 113 of file class.ilLTIConsumerLaunch.php.
Referenced by ilObjLTIConsumer\buildLaunchParameters().
|
protected |
Definition at line 34 of file class.ilLTIConsumerLaunch.php.