ILIAS  release_7 Revision v7.30-3-g800a261c036
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
5include_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}
An exception for terminatinating execution or to throw for unit testing.
Config class for page editing.
setPreventHTMLUnmasking($a_preventhtmlunmasking)
Set Prevent HTML Unmasking (true/false).
setEnableInternalLinks($a_enabledinternallinks)
Set Enable internal links.
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
Page layout page configuration.
global $DIC
Definition: goto.php:24
settings()
Definition: settings.php:2