157 $this->link_dir = (
defined(
"ILIAS_MODULE"))
183 return ($this->topBarOnly) ? self::TOP_SPACER_BAR_ONLY : self::TOP_SPACER;
209 return $this->link_dir .
"goto.php?target=" . $this->home_type .
"_" .
$this->home_id;
218 $targetScript = ($ilCtrl->getTargetScript() !==
'ilias.php') ?
"ilias.php" :
"";
219 return $this->link_dir . $targetScript . $ilCtrl->getLinkTargetByClass(
array(
'illtiroutergui',strtolower(get_class($this))), $cmd) .
"&baseClass=illtiroutergui";
231 $this->dic->logger()->lti()->write(
"redirectLink: " . $link);
246 if ((
int)
$_GET[
'ref_id']) {
248 return $this->current_ref_id = (int) $_GET[
'ref_id'];
251 $target_arr = explode(
'_', (
string) $_GET[
'target']);
255 return $this->current_ref_id = (int) $target_arr[1];
261 include_once
'./Services/Http/classes/class.ilHTTPS.php';
264 if (
$https->isDetected()) {
280 return preg_match(
"/(crs|grp|cat|root|folder)/", $obj_type);
285 $this->dic->logger()->lti()->write(
$txt);
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
$home_title
home title (title of ref_id)
$home_url
home Link (see topbar_back_url concept in MainMenuGUI)
addCss()
css files are added to the header
$current_ref_id
ref_id from current request
$root_folder_items
all allowed items
static _lookupTitle($a_id)
lookup object title
Base class for all ILIAS Views
$root_folder_id
root folder id Don't allow any access to higher level objects in this view
redirectToHome($_msg_type=self::MSG_INFO, $_msg='')
$tree_root_id
dynamic tree_root_folder_id show tree from tree_root_id
static _lookupObjectId($a_ref_id)
lookup object id
$show_home_link
show home link in topbar (similar to topbar_back_url = '' in MainMenu)
$allow_desktop
override these switches in the view constructor
$fix_tree_id
Fix tree_id Show always tree from id.
spacerClass()
spacer_class
findEffectiveRefId()
Find effective ref_id for request.
$tree_root_types
tree root types show tree from ref_id with obj_types if requested obj_type of ref_id is in array of $...
redirection script todo: (a better solution should control the processing via a xml file) ...
static removeTrailingPathSeparators($path)
Create styles array
The data for the language used.
static _lookupType($a_id, $a_reference=false)
lookup object type
appendInlineCss()
content of css files are appended to the main page html just before </body> end tag ...
getCmdLink($cmd)
helper function for cmd link creation
$home_items
cache ref_ids of home subtree items if request is in home context $show_home_link = false else $show_...
$current_type
obj_type of current ref_id
getSessionValue($sess_key)
get session value != ''
getHomeLink()
helper function for home link creation
$home_id
home id (ref_id) The view maybe support a view home link in the topbar (static or dynamically...
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
static redirect($a_script)
$home_type
home type (obj_type of ref_id) The view maybe support a view home link in the topbar (static or dynam...
const TOP_SPACER_BAR_ONLY