43 $user = $this->domain_service->user();
46 $this->lang = $ot->getEffectiveCOPageLang($user->getCurrentLanguage(),
"cont");
54 $settings = $this->domain_service->settings();
56 if (!$settings->get(
"enable_cat_page_edit") || $this->container->filteredSubtree()) {
63 $this->container->getId(),
70 $page_gui = new \ilContainerPageGUI($this->container->getId(), 0,
$this->lang);
71 $style = $this->content_style_domain->styleForRefId($this->container->getRefId());
72 $page_gui->setStyleId($style->getEffectiveStyleId());
74 $page_gui->setPresentationTitle(
"");
75 $page_gui->setTemplateOutput(
false);
76 $page_gui->setHeader(
"");
77 $html = $page_gui->showPage();
84 $settings = $this->domain_service->settings();
86 if (!$settings->get(
"enable_cat_page_edit") || $this->container->filteredSubtree()) {
93 $this->container->getId(),
100 $page_gui = new \ilContainerPageGUI($this->container->getId(), 0,
$this->lang);
101 $page = $page_gui->getPageObject();
103 return $page->getDomDoc();
InternalDomainService $domain_service
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface Observer Contains several chained tasks and infos about them.
ILIAS Style Content DomainService $content_style_domain
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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) ...
__construct(\ilDBInterface $db, InternalDomainService $domain_service, \ILIAS\Style\Content\DomainService $content_style_domain, \ilContainer $container, ?string $lang=null)