|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
@classDescription class for ILIAS ViewLTI More...
Collaboration diagram for ilLTIViewGUI:Public Member Functions | |
| __construct (\ilObjUser $user) | |
| Constructor. More... | |
| executeCommand () | |
| for ctrl commands More... | |
| activate () | |
| activate LTI GUI More... | |
| deactivate () | |
| deactivate LTI GUI More... | |
| isActive () | |
| LTI is active. More... | |
| initGUI () | |
| Set the environment backend for GUI (tree and locator behaviour, home link, ....) it is also possible to hide locator and treeicon, but if activated elsewhere a clean root folder is defined ToDo: conceptual discussion. More... | |
| render ($tpl, $part) | |
| addCss () | |
| add css files to the header More... | |
| appendInlineCss () | |
| append css styles just before </body> More... | |
| getHomeTitle () | |
| exitLti () | |
| exit LTI session and if defined redirecting to returnUrl ToDo: Standard Template with delos ... More... | |
| logout () | |
| logout ILIAS and destroys Session and ilClientId cookie More... | |
| getSessionValue ($sess_key) | |
| get session value != '' More... | |
Static Public Member Functions | |
| static | getInstance () |
| for compatiblity with ilLTIRouterGUI More... | |
Data Fields | |
| const | LTI_DEBUG = false |
| const | MSG_ERROR = "failure" |
| messsage codes More... | |
| const | MSG_INFO = "info" |
| const | MSG_QUESTION = "question" |
| const | MSG_SUCCESS = "success" |
| $show_locator = true | |
| public variables More... | |
| $member_view = false | |
| $member_view_url = "" | |
| $member_view_close_txt = "" | |
Protected Member Functions | |
| getHomeLink () | |
| helper function for home link creation More... | |
| getCmdLink ($cmd) | |
| helper function for cmd link creation More... | |
Private Member Functions | |
| init () | |
| Init LTI mode for lit authenticated users. More... | |
| isLTIUser () | |
| get LTI Mode from Users->getAuthMode More... | |
| getNavEntries () | |
| findEffectiveRefId () | |
| Find effective ref_id for request. More... | |
| showLocator ($obj_type) | |
| log ($txt) | |
Private Attributes | |
| $user = null | |
| private variables More... | |
| $home_id = "" | |
| $home_obj_id = "" | |
| $home_type = "" | |
| $home_title = "" | |
| $home_url = "" | |
| $link_dir = "" | |
| $current_ref_id = "" | |
| $current_type = "" | |
@classDescription class for ILIAS ViewLTI
@ilCtrl_IsCalledBy ilLTIViewGUI: ilLTIRouterGUI
Definition at line 33 of file class.ilLTIViewGUI.php.
| ilLTIViewGUI::__construct | ( | \ilObjUser | $user | ) |
Constructor.
Definition at line 70 of file class.ilLTIViewGUI.php.
References $user, deactivate(), ilContext\hasUser(), init(), isActive(), and user().
Here is the call graph for this function:| ilLTIViewGUI::activate | ( | ) |
activate LTI GUI
Definition at line 139 of file class.ilLTIViewGUI.php.
References $_SESSION, findEffectiveRefId(), initGUI(), and log().
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIViewGUI::addCss | ( | ) |
add css files to the header
Definition at line 304 of file class.ilLTIViewGUI.php.
| ilLTIViewGUI::appendInlineCss | ( | ) |
append css styles just before </body>
Definition at line 314 of file class.ilLTIViewGUI.php.
References $_SESSION.
| ilLTIViewGUI::deactivate | ( | ) |
deactivate LTI GUI
Definition at line 151 of file class.ilLTIViewGUI.php.
References $_SESSION, and log().
Referenced by __construct(), init(), and logout().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIViewGUI::executeCommand | ( | ) |
for ctrl commands
Definition at line 124 of file class.ilLTIViewGUI.php.
References $ilCtrl, and 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 342 of file class.ilLTIViewGUI.php.
References $_SESSION, $html, $lng, exit, getSessionValue(), log(), logout(), and print.
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.
Definition at line 380 of file class.ilLTIViewGUI.php.
References $_GET, $target_arr, ilObject\_lookupObjectId(), ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by activate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
helper function for cmd link creation
Definition at line 407 of file class.ilLTIViewGUI.php.
References $ilCtrl.
Referenced by render().
Here is the caller graph for this function:
|
protected |
helper function for home link creation
Definition at line 328 of file class.ilLTIViewGUI.php.
References $home_id.
Referenced by getNavEntries(), and initGUI().
Here is the caller graph for this function:| ilLTIViewGUI::getHomeTitle | ( | ) |
Definition at line 333 of file class.ilLTIViewGUI.php.
References ilObject\_lookupTitle().
Referenced by getNavEntries(), and initGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
for compatiblity with ilLTIRouterGUI
Definition at line 103 of file class.ilLTIViewGUI.php.
References $DIC.
|
private |
Definition at line 245 of file class.ilLTIViewGUI.php.
References $_GET, $ilCtrl, $ilSetting, $lng, ilObject\_lookupObjId(), getHomeLink(), getHomeTitle(), ilUtil\img(), and ilUtil\shortenText().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIViewGUI::getSessionValue | ( | $sess_key | ) |
get session value != ''
| $sess_key | string |
Definition at line 420 of file class.ilLTIViewGUI.php.
References $_SESSION.
Referenced by exitLti().
Here is the caller graph for this function:
|
private |
Init LTI mode for lit authenticated users.
Definition at line 85 of file class.ilLTIViewGUI.php.
References activate(), deactivate(), isActive(), and isLTIUser().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIViewGUI::initGUI | ( | ) |
Set the environment backend for GUI (tree and locator behaviour, home link, ....) it is also possible to hide locator and treeicon, but if activated elsewhere a clean root folder is defined ToDo: conceptual discussion.
Definition at line 171 of file class.ilLTIViewGUI.php.
References $_GET, $_SESSION, $lng, ilObject\_lookupObjectId(), ilObject\_lookupType(), getHomeLink(), getHomeTitle(), log(), and showLocator().
Referenced by activate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIViewGUI::isActive | ( | ) |
LTI is active.
Definition at line 161 of file class.ilLTIViewGUI.php.
References $_SESSION.
Referenced by __construct(), and init().
Here is the caller graph for this function:
|
private |
get LTI Mode from Users->getAuthMode
Definition at line 113 of file class.ilLTIViewGUI.php.
References user().
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 429 of file class.ilLTIViewGUI.php.
Referenced by activate(), deactivate(), exitLti(), and initGUI().
Here is the caller graph for this function:| ilLTIViewGUI::logout | ( | ) |
logout ILIAS and destroys Session and ilClientId cookie
Definition at line 365 of file class.ilLTIViewGUI.php.
References $_COOKIE, $client_id, $GLOBALS, deactivate(), ilSession\SESSION_CLOSE_USER, ilSession\setClosingContext(), and ilUtil\setCookie().
Referenced by exitLti().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLTIViewGUI::render | ( | $tpl, | |
| $part | |||
| ) |
Definition at line 204 of file class.ilLTIViewGUI.php.
References $DIC, $f, $lng, $tpl, getCmdLink(), and getNavEntries().
Here is the call graph for this function:
|
private |
Definition at line 398 of file class.ilLTIViewGUI.php.
Referenced by initGUI().
Here is the caller graph for this function:
|
private |
Definition at line 55 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 56 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 49 of file class.ilLTIViewGUI.php.
Referenced by getHomeLink().
|
private |
Definition at line 50 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 52 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 51 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 53 of file class.ilLTIViewGUI.php.
|
private |
Definition at line 54 of file class.ilLTIViewGUI.php.
| ilLTIViewGUI::$member_view = false |
Definition at line 62 of file class.ilLTIViewGUI.php.
| ilLTIViewGUI::$member_view_close_txt = "" |
Definition at line 64 of file class.ilLTIViewGUI.php.
| ilLTIViewGUI::$member_view_url = "" |
Definition at line 63 of file class.ilLTIViewGUI.php.
| ilLTIViewGUI::$show_locator = true |
public variables
Definition at line 61 of file class.ilLTIViewGUI.php.
|
private |
private variables
Definition at line 48 of file class.ilLTIViewGUI.php.
Referenced by __construct().
| const ilLTIViewGUI::LTI_DEBUG = false |
Definition at line 35 of file class.ilLTIViewGUI.php.
| const ilLTIViewGUI::MSG_ERROR = "failure" |
messsage codes
Definition at line 40 of file class.ilLTIViewGUI.php.
| const ilLTIViewGUI::MSG_INFO = "info" |
Definition at line 41 of file class.ilLTIViewGUI.php.
| const ilLTIViewGUI::MSG_QUESTION = "question" |
Definition at line 42 of file class.ilLTIViewGUI.php.
| const ilLTIViewGUI::MSG_SUCCESS = "success" |
Definition at line 43 of file class.ilLTIViewGUI.php.