ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilContainerPageConfig.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27{
29
30 public function init(): void
31 {
32 global $DIC;
33
34 $this->settings = $DIC->settings();
35
36 $this->setEnableInternalLinks(true);
37 $this->setIntLinkHelpDefaultType("RepositoryItem");
38 $this->setEnablePCType("FileList", false);
39 $this->setEnablePCType("Map", true);
40 $this->setEnablePCType("Resources", true);
41 $this->setMultiLangSupport(true);
42 $this->setSinglePageMode(true);
43 $this->setEnablePermissionChecks(true);
44 $this->setUsePageContainer(false);
45
46 $mset = new ilSetting("mobs");
47 if ($mset->get("mep_activate_pages")) {
48 $this->setEnablePCType("ContentInclude", true);
49 }
50 }
51}
Container page configuration.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setIntLinkHelpDefaultType(string $a_val)
setEnablePCType(string $a_pc_type, bool $a_val)
setSinglePageMode(bool $a_val)
Set single page mode.
setMultiLangSupport(bool $a_val)
setEnablePermissionChecks(bool $a_val)
setEnableInternalLinks(bool $a_enabledinternallinks)
setUsePageContainer(bool $a_val)
Set if page container css class should be used.
ILIAS Setting Class.
global $DIC
Definition: shib_login.php:26