ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilContainerPageConfig.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once("./Services/COPage/classes/class.ilPageConfig.php");
6 
15 {
19  protected $settings;
20 
24  public function init()
25  {
26  global $DIC;
27 
28  $this->settings = $DIC->settings();
29 
30  $this->setEnableInternalLinks(true);
31  $this->setIntLinkHelpDefaultType("RepositoryItem");
32  $this->setEnablePCType("FileList", false);
33  $this->setEnablePCType("Map", true);
34  $this->setEnablePCType("Resources", true);
35  $this->setMultiLangSupport(true);
36  $this->setSinglePageMode(true);
37  $this->setEnablePermissionChecks(true);
38 
39  $mset = new ilSetting("mobs");
40  if ($mset->get("mep_activate_pages")) {
41  $this->setEnablePCType("ContentInclude", true);
42  }
43  }
44 }
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
global $DIC
Definition: saml.php:7
setIntLinkHelpDefaultType($a_val)
Set internal link default type.
setMultiLangSupport($a_val)
Set multi language support.
setSinglePageMode($a_val)
Set single page mode.
Config class for page editing.
setEnableInternalLinks($a_enabledinternallinks)
Set Enable internal links.
settings()
Definition: settings.php:2
Container page configuration.
setEnablePermissionChecks($a_val)
Set enable permission checks.