ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilPortfolioTemplatePageConfig.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
11{
12 public function init()
13 {
14 global $DIC;
15
16 $this->settings = $DIC->settings();
17 parent::init();
18 $this->setIntLinkHelpDefaultId($_GET["ref_id"]);
19 $this->addIntLinkFilter("PortfolioTemplatePage");
20 $this->removeIntLinkFilter("PortfolioPage");
21 $this->setIntLinkHelpDefaultType("PortfolioTemplatePage");
22
23 $this->setEnablePCType("Verification", false);
24 $this->setEnablePCType("PlaceHolder", true);
25 }
26
28 {
30
31 // no questions
32 $all = array(
35 );
36
37 if (!$ilSetting->get('disable_wsp_certificates')) {
39 }
40
41 return $all;
42 }
43}
$_GET["client_id"]
An exception for terminatinating execution or to throw for unit testing.
removeIntLinkFilter($a_val)
Remove int link filter.
addIntLinkFilter($a_val)
Add internal links filter.
setIntLinkHelpDefaultId($a_val, $a_is_ref=true)
Set internal link default id.
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
setIntLinkHelpDefaultType($a_val)
Set internal link default type.
Portfolio page configuration.
Portfolio template page configuration.
global $ilSetting
Definition: privfeed.php:17
settings()
Definition: settings.php:2
$DIC
Definition: xapitoken.php:46