28 $user = $this->domain_service->user();
31 $this->lang = $ot->getEffectiveContentLang($user->getCurrentLanguage(),
"cont");
39 $settings = $this->domain_service->settings();
41 if (!
$settings->get(
"enable_cat_page_edit") || $this->container->filteredSubtree()) {
48 $this->container->getId(),
55 $page_gui = new \ilContainerPageGUI($this->container->getId(), 0,
$this->lang);
56 $style = $this->content_style_domain->styleForRefId($this->container->getRefId());
57 $page_gui->setStyleId($style->getEffectiveStyleId());
59 $page_gui->setPresentationTitle(
"");
60 $page_gui->setTemplateOutput(
false);
61 $page_gui->setHeader(
"");
62 $html = $page_gui->showPage();
69 $settings = $this->domain_service->settings();
71 if (!
$settings->get(
"enable_cat_page_edit") || $this->container->filteredSubtree()) {
78 $this->container->getId(),
85 $page_gui = new \ilContainerPageGUI($this->container->getId(), 0,
$this->lang);
86 $page = $page_gui->getPageObject();
88 return $page->getDomDoc();
__construct(InternalDomainService $domain_service, \ILIAS\Style\Content\DomainService $content_style_domain, \ilContainer $container, ?string $lang=null)
InternalDomainService $domain_service
Class ChatMainBarProvider .
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) ...
ILIAS Style Content DomainService $content_style_domain
static getInstance(int $obj_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...