ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
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 324 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().
|
private |
Find effective ref_id for request.
string | null | $url |
Definition at line 434 of file class.ilLTIViewGUI.php.
References $url, ilSession\get(), ilSession\has(), ILIAS\Repository\int(), null, and ilSession\set().
Referenced by getContextId().
ilLTIViewGUI::getCmdLink | ( | String | $cmd | ) |
String | $cmd |
ilCtrlException |
Definition at line 394 of file class.ilLTIViewGUI.php.
References getContextId().
|
protected |
Definition at line 153 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(), ILIAS\Repository\locator(), null, and ilUtil\redirect().
Referenced by exitLti(), getCmdLink(), and getPostData().
|
private |
Definition at line 412 of file class.ilLTIViewGUI.php.
ilLTIViewGUI::getExternalCss | ( | ) |
Definition at line 283 of file class.ilLTIViewGUI.php.
References getPostData(), and null.
|
static |
for compatiblity with ilLTIRouterGUI
Definition at line 89 of file class.ilLTIViewGUI.php.
References $DIC.
ilLTIViewGUI::getPostData | ( | ) |
Definition at line 265 of file class.ilLTIViewGUI.php.
References ilSession\get(), getContextId(), and null.
Referenced by exitLti(), getExternalCss(), and getTitle().
|
private |
Definition at line 403 of file class.ilLTIViewGUI.php.
References ilSession\get(), and ilSession\has().
ilLTIViewGUI::getShortTitle | ( | ) |
Definition at line 315 of file class.ilLTIViewGUI.php.
References ILIAS\Repository\lng().
ilLTIViewGUI::getTitle | ( | ) |
Definition at line 295 of file class.ilLTIViewGUI.php.
References getPostData(), and null.
ilLTIViewGUI::getTitleForExitPage | ( | ) |
Definition at line 307 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.
References null.
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 367 of file class.ilLTIViewGUI.php.
References ilAuthUtils\AUTH_LOCAL, ilSession\get(), and ilUtil\setCookie().
Referenced by exitLti().
|
private |
Definition at line 421 of file class.ilLTIViewGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by exitLti().
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.
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 |