ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilPageLayoutPageConfig.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->setPreventHTMLUnmasking(false);
31  $this->setEnableInternalLinks(false);
32  $this->setEnablePCType("Question", false);
33  $this->setEnablePCType("Map", false);
34  $this->setEnablePCType("FileList", false);
35  $this->setEnablePCType("PlaceHolder", true);
36  }
37 }
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
settings()
Definition: settings.php:2
global $DIC
Definition: saml.php:7
Config class for page editing.
setEnableInternalLinks($a_enabledinternallinks)
Set Enable internal links.
Page layout page configuration.
setPreventHTMLUnmasking($a_preventhtmlunmasking)
Set Prevent HTML Unmasking (true/false).