ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilContainerPageConfig.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
27 {
28  protected ilSetting $settings;
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 }
setEnableInternalLinks(bool $a_enabledinternallinks)
setEnablePermissionChecks(bool $a_val)
setIntLinkHelpDefaultType(string $a_val)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28
setUsePageContainer(bool $a_val)
Set if page container css class should be used.
setSinglePageMode(bool $a_val)
Set single page mode.
setMultiLangSupport(bool $a_val)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setEnablePCType(string $a_pc_type, bool $a_val)