|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
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 |
| 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 326 of file class.ilLTIViewGUI.php.
References $renderer, ilSession\clear(), getContextId(), getPostData(), ilSession\has(), ILIAS\UI\examples\Symbol\Glyph\Header\header(), 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 436 of file class.ilLTIViewGUI.php.
References $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 396 of file class.ilLTIViewGUI.php.
References getContextId().
Here is the call graph for this function:
|
protected |
Definition at line 155 of file class.ilLTIViewGUI.php.
References $_SERVER, $DIC, $effectiveRefId, $path, $ref_id, ilObject\_lookupType(), CHECK_HTTP_REFERER, findEffectiveRefId(), ilSession\get(), ilSession\has(), ILIAS\Repository\int(), and ILIAS\Repository\locator().
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 414 of file class.ilLTIViewGUI.php.
| ilLTIViewGUI::getExternalCss | ( | ) |
Definition at line 285 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 267 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 405 of file class.ilLTIViewGUI.php.
References ilSession\get(), and ilSession\has().
Here is the call graph for this function:| ilLTIViewGUI::getShortTitle | ( | ) |
Definition at line 317 of file class.ilLTIViewGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilLTIViewGUI::getTitle | ( | ) |
Definition at line 297 of file class.ilLTIViewGUI.php.
References getPostData().
Here is the call graph for this function:| ilLTIViewGUI::getTitleForExitPage | ( | ) |
Definition at line 309 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 369 of file class.ilLTIViewGUI.php.
References 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 423 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 |