ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  $this->setEnablePermissionChecks(true);
31 
32  $mset = new ilSetting("mobs");
33  if ($mset->get("mep_activate_pages"))
34  {
35  $this->setEnablePCType("ContentInclude", true);
36  }
37  }
38 
39 }
40 
41 ?>
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:17
Container page configuration.
setEnablePermissionChecks($a_val)
Set enable permission checks.