43 $this->tpl =
$DIC[
"tpl"];
44 $this->
lng = $DIC->language();
46 $this->
user = $DIC->user();
47 $this->parent_gui = $a_gui;
48 $this->parent_obj = $a_parent_obj;
51 $a_parent_obj->
getId()
53 $cs =
$DIC->contentStyle();
54 $this->content_style_domain = $cs->domain()->styleForRefId($a_parent_obj->
getRefId());
55 $this->content_style_gui = $cs->gui();
62 $this->enable_desktop = $a_value;
64 if ($this->enable_desktop) {
65 $this->parent_gui = $a_parent_gui;
75 $lng->loadLanguageModule(
"crs");
84 $this->getPageHTML() .
94 if (!
$ilSetting->get(
"enable_cat_page_edit")) {
98 $page_id = $this->start_object->getObjId();
105 $this->content_style_gui->addCss(
$tpl, $this->parent_obj->getRefId());
106 $tpl->setCurrentBlock(
"SyntaxStyle");
108 "LOCATION_SYNTAX_STYLESHEET",
111 $tpl->parseCurrentBlock();
115 $page_gui->setStyleId($this->content_style_domain->getEffectiveStyleId());
117 $page_gui->setPresentationTitle(
"");
118 $page_gui->setTemplateOutput(
false);
119 $page_gui->setHeader(
"");
120 return $page_gui->showPage();
Class ilContainerGUI This is a base GUI class for all container objects in ILIAS: root folder,...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS Style Content Object ObjectFacade $content_style_domain
ilGlobalTemplateInterface $tpl
__construct(ilContainerGUI $a_gui, ilContainer $a_parent_obj)
ilContainerStartObjects $start_object
ILIAS Style Content GUIService $content_style_gui
enableDesktop(bool $a_value, ilContainerGUI $a_parent_gui)
ilContainerGUI $parent_gui
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getSyntaxStylePath()
static _existsAndNotEmpty(string $a_parent_type, int $a_id, string $a_lang="-")
checks whether page exists and is not empty (may return true on some empty pages)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl