|
ILIAS
release_8 Revision v8.24
|
@classDescription class for ILIAS ViewLTI More...
Collaboration diagram for ilLTIViewGUI: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 |
@classDescription class for ILIAS ViewLTI
@ilCtrl_IsCalledBy ilLTIViewGUI: ilLTIRouterGUI
Definition at line 32 of file class.ilLTIViewGUI.php.
| ilLTIViewGUI::__construct | ( | ) |
Definition at line 60 of file class.ilLTIViewGUI.php.
References $DIC, ilLoggerFactory\getLogger(), ILIAS\Repository\lng(), and ILIAS\Repository\locator().
Here is the call graph for this function:| ilLTIViewGUI::executeCommand | ( | ) |
Definition at line 113 of file class.ilLTIViewGUI.php.
References exitLti().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIViewGUI::getCmdLink | ( | String | $cmd | ) |
| String | $cmd |
| ilCtrlException |
Definition at line 417 of file class.ilLTIViewGUI.php.
References getContextId().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 435 of file class.ilLTIViewGUI.php.
| ilLTIViewGUI::getExternalCss | ( | ) |
Definition at line 306 of file class.ilLTIViewGUI.php.
References getPostData().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 426 of file class.ilLTIViewGUI.php.
References ilSession\get(), and ilSession\has().
Here is the call graph for this function:| ilLTIViewGUI::getShortTitle | ( | ) |
Definition at line 338 of file class.ilLTIViewGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilLTIViewGUI::getTitle | ( | ) |
Definition at line 318 of file class.ilLTIViewGUI.php.
References getPostData().
Here is the call graph for this function:| ilLTIViewGUI::getTitleForExitPage | ( | ) |
Definition at line 330 of file class.ilLTIViewGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilLTIViewGUI::init | ( | ) |
Init LTI mode for lti authenticated users.
Definition at line 75 of file class.ilLTIViewGUI.php.
References $context, initGUI(), and isLTIUser().
Here is the call graph for this function:| ilLTIViewGUI::initGUI | ( | ) |
Definition at line 135 of file class.ilLTIViewGUI.php.
Referenced by init().
Here is the caller graph for this function:| ilLTIViewGUI::isActive | ( | ) |
Definition at line 127 of file class.ilLTIViewGUI.php.
References isLTIUser().
Here is the call graph for this function:
|
private |
get LTI Mode from Users->getAuthMode
Definition at line 99 of file class.ilLTIViewGUI.php.
Referenced by init(), and isActive().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 444 of file class.ilLTIViewGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by exitLti().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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 |