ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilForumPageConfig.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
23 public function init(): void
24 {
25 $this->setEnableInternalLinks(true);
26 $this->setIntLinkHelpDefaultType('RepositoryItem');
27 $this->setSinglePageMode(true);
28 $this->setEnablePermissionChecks(true);
29 $this->setMultiLangSupport(false);
30 $this->setUsePageContainer(false);
31 $this->setEnablePCType('Map', true);
32
33 $mediaPoolSettings = new ilSetting('mobs');
34 if ($mediaPoolSettings->get('mep_activate_pages', '0')) {
35 $this->setEnablePCType('ContentInclude', true);
36 }
37 }
38}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setIntLinkHelpDefaultType(string $a_val)
setEnablePCType(string $a_pc_type, bool $a_val)
setSinglePageMode(bool $a_val)
Set single page mode.
setMultiLangSupport(bool $a_val)
setEnablePermissionChecks(bool $a_val)
setEnableInternalLinks(bool $a_enabledinternallinks)
setUsePageContainer(bool $a_val)
Set if page container css class should be used.
ILIAS Setting Class.