ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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  function init()
20  {
21  global $ilSetting;
22 
23  $this->setEnableInternalLinks(true);
24  $this->setIntLinkHelpDefaultType("RepositoryItem");
25  $this->setEnablePCType("FileList", false);
26  $this->setEnablePCType("Map", true);
27  $this->setEnablePCType("Resources", true);
28  $this->setMultiLangSupport(true);
29  $this->setSinglePageMode(true);
30 
31  $mset = new ilSetting("mobs");
32  if ($mset->get("mep_activate_pages"))
33  {
34  $this->setEnablePCType("ContentInclude", true);
35  }
36  }
37 
38 }
39 
40 ?>
ILIAS Setting Class.
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
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.
global $ilSetting
Definition: privfeed.php:40
Container page configuration.