ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilContentPagePageConfig.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
8 {
12  public function init()
13  {
14  $this->setEnableInternalLinks(true);
15  $this->setIntLinkHelpDefaultType('RepositoryItem');
16  $this->setSinglePageMode(true);
17  $this->setEnablePermissionChecks(true);
18 
19  $mediaPoolSettings = new ilSetting('mobs');
20  if ($mediaPoolSettings->get('mep_activate_pages')) {
21  $this->setEnablePCType('ContentInclude', true);
22  }
23  }
24 }
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
setIntLinkHelpDefaultType($a_val)
Set internal link default type.
Class ilContentPagePageConfig.
setSinglePageMode($a_val)
Set single page mode.
Config class for page editing.
setEnableInternalLinks($a_enabledinternallinks)
Set Enable internal links.
setEnablePermissionChecks($a_val)
Set enable permission checks.