49 $this->tpl =
$DIC[
"tpl"];
50 $this->
lng = $DIC->language();
52 $this->
user = $DIC->user();
53 $this->ui_factory =
$DIC->ui()->factory();
54 $this->ui_renderer =
$DIC->ui()->renderer();
55 $this->parent_gui = $a_gui;
56 $this->parent_obj = $a_parent_obj;
59 $a_parent_obj->
getId()
61 $cs =
$DIC->contentStyle();
62 $this->content_style_domain = $cs->domain()->styleForRefId($a_parent_obj->
getRefId());
63 $this->content_style_gui = $cs->gui();
70 $this->enable_desktop = $a_value;
72 if ($this->enable_desktop) {
73 $this->parent_gui = $a_parent_gui;
83 $lng->loadLanguageModule(
"crs");
93 $this->getPageHTML() .
103 if (!
$ilSetting->get(
"enable_cat_page_edit")) {
107 $page_id = $this->start_object->getObjId();
114 $this->content_style_gui->addCss($tpl, $this->parent_obj->getRefId());
117 "LOCATION_SYNTAX_STYLESHEET",
124 $page_gui->setStyleId($this->content_style_domain->getEffectiveStyleId());
126 $page_gui->setPresentationTitle(
"");
127 $page_gui->setTemplateOutput(
false);
128 $page_gui->setHeader(
"");
129 return $page_gui->showPage();
Builds a Color from either hex- or rgb values.
Class ilContainerGUI This is a base GUI class for all container objects in ILIAS: root folder,...
Class ilContainerStartObjectsContentGUI.
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
Container start objects page GUI class.
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)
setVariable(string $variable, $value='')
Sets the given variable to the given value.
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block.
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block.
setContent(string $a_html)
Sets content for standard template.
An entity that renders components to a string output.