ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
class.ilWikiPageConfig.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5include_once("./Services/COPage/classes/class.ilPageConfig.php");
6
15{
19 function init()
20 {
21 $this->setEnablePCType("Map", true);
22 $this->setEnablePCType("Tabs", true);
23 $this->setPreventHTMLUnmasking(true);
24 $this->setEnableInternalLinks(true);
25 $this->setEnableAnchors(true);
26 $this->setEnableWikiLinks(true);
27 $this->setIntLinkFilterWhiteList(true);
28 $this->addIntLinkFilter("RepositoryItem");
29 $this->addIntLinkFilter("WikiPage");
30 $this->setIntLinkHelpDefaultType("RepositoryItem");
31 $this->setEnablePCType("AMDPageList", true);
32 }
33
39 function configureByObjectId($a_obj_id)
40 {
41 if ($a_obj_id > 0)
42 {
43 include_once("./Modules/Wiki/classes/class.ilObjWiki.php");
45 }
46 }
47
48}
49
50?>
static _lookupPageToc($a_wiki_id)
Lookup whether important pages are activated.
Config class for page editing.
setEnableWikiLinks($a_enablewikilinks)
Set Enable Wiki Links.
setPreventHTMLUnmasking($a_preventhtmlunmasking)
Set Prevent HTML Unmasking (true/false).
addIntLinkFilter($a_val)
Add internal links filter.
setEnableInternalLinks($a_enabledinternallinks)
Set Enable internal links.
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
setIntLinkFilterWhiteList($a_white_list)
Set internal links filter type list to white list.
setIntLinkHelpDefaultType($a_val)
Set internal link default type.
setEnableAnchors($a_val)
Set enable anchors.
setEnablePageToc($a_val)
Set enable page toc.
Wiki page configuration.
configureByObjectId($a_obj_id)
Object specific configuration.