ILIAS
release_8 Revision v8.19
|
class for ILIAS ViewLTI More...
Public Member Functions | |
__construct () | |
init () | |
Init LTI mode for lti authenticated users. More... | |
executeCommand () | |
isActive () | |
initGUI () | |
getPostData () | |
getExternalCss () | |
getTitle () | |
getTitleForExitPage () | |
getShortTitle () | |
exitLti () | |
exit LTI session and if defined redirecting to returnUrl ToDo: Standard Template with delos ... More... | |
logout (bool $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... | |
ilLanguage | $lng = null |
public variables More... | |
Protected Member Functions | |
getContextId () | |
Private Member Functions | |
isLTIUser () | |
get LTI Mode from Users->getAuthMode More... | |
getSessionValue (string $sess_key) | |
getCookieValue (string $cookie_key) | |
removeContextFromSession (string $context_id) | |
findEffectiveRefId (?string $url=null) | |
Find effective ref_id for request. More... | |
Private Attributes | |
ILIAS DI Container | $dic = null |
private variables More... | |
int | $user = null |
ilLogger | $log = null |
string | $link_dir = "" |
int | $effectiveRefId = null |
ILIAS HTTP Wrapper WrapperFactory | $wrapper |
ILIAS Refinery KindlyTo Group | $kindlyTo |
ilLocatorGUI | $locator |
ilLTIViewGUI::__construct | ( | ) |
Definition at line 60 of file class.ilLTIViewGUI.php.
References $DIC, ilLoggerFactory\getLogger(), ILIAS\Repository\lng(), and ILIAS\Repository\locator().
ilLTIViewGUI::executeCommand | ( | ) |
Definition at line 113 of file class.ilLTIViewGUI.php.
References exitLti().
ilLTIViewGUI::exitLti | ( | ) |
exit LTI session and if defined redirecting to returnUrl ToDo: Standard Template with delos ...
Definition at line 347 of file class.ilLTIViewGUI.php.
References $tpl, ilSession\clear(), getContextId(), getPostData(), ilSession\has(), ILIAS\Repository\lng(), logout(), and removeContextFromSession().
Referenced by executeCommand().
|
private |
Find effective ref_id for request.
string | null | $url |
Definition at line 457 of file class.ilLTIViewGUI.php.
References $query, $target_arr, $url, ilSession\get(), ilSession\has(), ILIAS\Repository\int(), and ilSession\set().
Referenced by getContextId().
ilLTIViewGUI::getCmdLink | ( | String | $cmd | ) |
String | $cmd |
ilCtrlException |
Definition at line 417 of file class.ilLTIViewGUI.php.
References getContextId().
|
protected |
Definition at line 153 of file class.ilLTIViewGUI.php.
References $_SERVER, $DIC, $effectiveRefId, $i, $path, $ref_id, ilObject\_lookupType(), CHECK_HTTP_REFERER, findEffectiveRefId(), ilSession\get(), ilSession\has(), ILIAS\Repository\int(), ILIAS\Repository\locator(), ilUtil\redirect(), and ilSession\set().
Referenced by exitLti(), getCmdLink(), and getPostData().
|
private |
Definition at line 435 of file class.ilLTIViewGUI.php.
ilLTIViewGUI::getExternalCss | ( | ) |
Definition at line 306 of file class.ilLTIViewGUI.php.
References getPostData().
|
static |
for compatiblity with ilLTIRouterGUI
Definition at line 89 of file class.ilLTIViewGUI.php.
References $DIC.
ilLTIViewGUI::getPostData | ( | ) |
Definition at line 288 of file class.ilLTIViewGUI.php.
References ilSession\get(), and getContextId().
Referenced by exitLti(), getExternalCss(), and getTitle().
|
private |
Definition at line 426 of file class.ilLTIViewGUI.php.
References ilSession\get(), and ilSession\has().
ilLTIViewGUI::getShortTitle | ( | ) |
Definition at line 338 of file class.ilLTIViewGUI.php.
References ILIAS\Repository\lng().
ilLTIViewGUI::getTitle | ( | ) |
Definition at line 318 of file class.ilLTIViewGUI.php.
References getPostData().
ilLTIViewGUI::getTitleForExitPage | ( | ) |
Definition at line 330 of file class.ilLTIViewGUI.php.
References ILIAS\Repository\lng().
ilLTIViewGUI::init | ( | ) |
Init LTI mode for lti authenticated users.
Definition at line 75 of file class.ilLTIViewGUI.php.
References $context, initGUI(), and isLTIUser().
ilLTIViewGUI::initGUI | ( | ) |
Definition at line 135 of file class.ilLTIViewGUI.php.
Referenced by init().
ilLTIViewGUI::isActive | ( | ) |
Definition at line 127 of file class.ilLTIViewGUI.php.
References isLTIUser().
|
private |
get LTI Mode from Users->getAuthMode
Definition at line 99 of file class.ilLTIViewGUI.php.
Referenced by init(), and isActive().
ilLTIViewGUI::logout | ( | bool | $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 390 of file class.ilLTIViewGUI.php.
References $auth, ilAuthUtils\AUTH_LOCAL, ilSession\get(), and ilUtil\setCookie().
Referenced by exitLti().
|
private |
Definition at line 444 of file class.ilLTIViewGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by exitLti().
|
private |
private variables
Definition at line 42 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 47 of file class.ilLTIViewGUI.php.
Referenced by getContextId().
|
private |
Definition at line 49 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 45 of file class.ilLTIViewGUI.php.
ilLanguage ilLTIViewGUI::$lng = null |
public variables
Definition at line 55 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 50 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 44 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 43 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 48 of file class.ilLTIViewGUI.php.
const ilLTIViewGUI::CHECK_HTTP_REFERER = true |