ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilBlogPostingConfig.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  public function init()
20  {
21  $this->setEnablePCType("Map", true);
22  $this->setEnableInternalLinks((bool) $_GET["ref_id"]); // #15668
23  $this->setPreventHTMLUnmasking(false);
24  $this->setEnableActivation(true);
25 
26  $blga_set = new ilSetting("blga");
27  $this->setPreventHTMLUnmasking(!(bool) $blga_set->get("mask", false));
28  }
29 }
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
$_GET["client_id"]
Config class for page editing.
Blog posting page configuration.
setEnableInternalLinks($a_enabledinternallinks)
Set Enable internal links.
setEnableActivation($a_val)
Set enabled actication.
setPreventHTMLUnmasking($a_preventhtmlunmasking)
Set Prevent HTML Unmasking (true/false).