ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
class for ILIAS ViewLTI More...
Public Member Functions | |
__construct () | |
init () | |
Init LTI mode for lti authenticated users. More... | |
executeCommand () | |
isActive () | |
initGUI () | |
getContextId () | |
getPostData () | |
getExternalCss () | |
getTitle () | |
getTitleForExitPage () | |
getShortTitle () | |
exitLti () | |
exit LTI session and if defined redirecting to returnUrl ToDo: Standard Template with delos ... More... | |
logout ($force_ilias_logout=false) | |
logout ILIAS and destroys Session and ilClientId cookie if no consumer is still open in the LTI User Session More... | |
getCmdLink (String $cmd) | |
Static Public Member Functions | |
static | getInstance () |
for compatiblity with ilLTIRouterGUI More... | |
Data Fields | |
const | CHECK_HTTP_REFERER = true |
contstants More... | |
$lng = null | |
public variables More... | |
Private Member Functions | |
isLTIUser () | |
get LTI Mode from Users->getAuthMode More... | |
getSessionValue (String $sess_key) | |
getCookieValue (String $cookie_key) | |
removeContextFromSession ($context_id) | |
findEffectiveRefId ($url=null) | |
Find effective ref_id for request. More... | |
Private Attributes | |
$dic = null | |
private variables More... | |
$user = null | |
$log = null | |
$link_dir = "" | |
ilLTIViewGUI::__construct | ( | ) |
ilLTIViewGUI::executeCommand | ( | ) |
Definition at line 99 of file class.ilLTIViewGUI.php.
References $ilCtrl, and exitLti().
ilLTIViewGUI::exitLti | ( | ) |
exit LTI session and if defined redirecting to returnUrl ToDo: Standard Template with delos ...
Definition at line 266 of file class.ilLTIViewGUI.php.
References $_SESSION, $tpl, getContextId(), getPostData(), logout(), and removeContextFromSession().
Referenced by executeCommand().
|
private |
Find effective ref_id for request.
Definition at line 366 of file class.ilLTIViewGUI.php.
References $_GET, $query, $target_arr, and $url.
Referenced by getContextId().
ilLTIViewGUI::getCmdLink | ( | String | $cmd | ) |
Definition at line 327 of file class.ilLTIViewGUI.php.
References $ilCtrl, and getContextId().
ilLTIViewGUI::getContextId | ( | ) |
Definition at line 128 of file class.ilLTIViewGUI.php.
References $_GET, $_SERVER, $_SESSION, $i, ilObject\_lookupType(), CHECK_HTTP_REFERER, findEffectiveRefId(), ilUtil\redirect(), and ilUtil\sendFailure().
Referenced by exitLti(), getCmdLink(), and getPostData().
|
private |
ilLTIViewGUI::getExternalCss | ( | ) |
Definition at line 235 of file class.ilLTIViewGUI.php.
References getPostData().
|
static |
for compatiblity with ilLTIRouterGUI
Definition at line 81 of file class.ilLTIViewGUI.php.
References $DIC.
ilLTIViewGUI::getPostData | ( | ) |
Definition at line 221 of file class.ilLTIViewGUI.php.
References $_SESSION, and getContextId().
Referenced by exitLti(), getExternalCss(), and getTitle().
|
private |
ilLTIViewGUI::getShortTitle | ( | ) |
Definition at line 257 of file class.ilLTIViewGUI.php.
ilLTIViewGUI::getTitle | ( | ) |
Definition at line 243 of file class.ilLTIViewGUI.php.
References getPostData().
ilLTIViewGUI::getTitleForExitPage | ( | ) |
Definition at line 252 of file class.ilLTIViewGUI.php.
ilLTIViewGUI::init | ( | ) |
Init LTI mode for lti authenticated users.
Definition at line 67 of file class.ilLTIViewGUI.php.
References $context, initGUI(), and isLTIUser().
ilLTIViewGUI::initGUI | ( | ) |
Definition at line 115 of file class.ilLTIViewGUI.php.
References $_GET.
Referenced by init().
ilLTIViewGUI::isActive | ( | ) |
Definition at line 110 of file class.ilLTIViewGUI.php.
References isLTIUser().
|
private |
get LTI Mode from Users->getAuthMode
Definition at line 91 of file class.ilLTIViewGUI.php.
Referenced by init(), and isActive().
ilLTIViewGUI::logout | ( | $force_ilias_logout = false | ) |
logout ILIAS and destroys Session and ilClientId cookie if no consumer is still open in the LTI User Session
Definition at line 304 of file class.ilLTIViewGUI.php.
References $_COOKIE, $_SESSION, $auth, $client_id, $GLOBALS, AUTH_LOCAL, ilUtil\setCookie(), and ilAuthStatus\STATUS_UNDEFINED.
Referenced by exitLti().
|
private |
Definition at line 355 of file class.ilLTIViewGUI.php.
References $_SESSION.
Referenced by exitLti().
|
private |
private variables
Definition at line 45 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 48 of file class.ilLTIViewGUI.php.
ilLTIViewGUI::$lng = null |
public variables
Definition at line 53 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 47 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 46 of file class.ilLTIViewGUI.php.
const ilLTIViewGUI::CHECK_HTTP_REFERER = true |