ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
__construct (int $a_ref_id) | |
ilObjLTIConsumerLaunch constructor. More... | |
getContext ($a_valid_types=array('crs', 'grp', 'cat', 'root')) | |
get info about the context in which the link is used More... | |
Static Public Member Functions | |
static | getLTIContextType ($a_type) |
static | signOAuth ($a_params) |
sign request data with OAuth More... | |
Protected Attributes | |
$ref_id | |
Static Private Attributes | |
static | $last_oauth_base_string = "" |
Definition at line 14 of file class.ilLTIConsumerLaunch.php.
ilLTIConsumerLaunch::__construct | ( | int | $a_ref_id | ) |
ilObjLTIConsumerLaunch constructor.
int | $a_id | |
bool | $a_reference |
Definition at line 25 of file class.ilLTIConsumerLaunch.php.
ilLTIConsumerLaunch::getContext | ( | $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 | list of valid types |
Definition at line 39 of file class.ilLTIConsumerLaunch.php.
References $context, and $DIC.
Referenced by ilLTIConsumerEmbeddedContentGUI\getLaunchParameters().
|
static |
Definition at line 70 of file class.ilLTIConsumerLaunch.php.
References $a_type.
Referenced by ilLTIConsumerEmbeddedContentGUI\getLaunchParameters().
|
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 104 of file class.ilLTIConsumerLaunch.php.
References OAuthRequest\from_consumer_and_token().
Referenced by ilObjLTIConsumer\buildLaunchParameters().
|
staticprivate |
Definition at line 16 of file class.ilLTIConsumerLaunch.php.
|
protected |
Definition at line 18 of file class.ilLTIConsumerLaunch.php.