ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilPortfolioTemplatePageConfig.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once("./Modules/Portfolio/classes/class.ilPortfolioPageConfig.php");
5
14{
15 public function init()
16 {
17 global $DIC;
18
19 $this->settings = $DIC->settings();
20 parent::init();
21 $this->setIntLinkHelpDefaultId($_GET["ref_id"]);
22 $this->addIntLinkFilter("PortfolioTemplatePage");
23 $this->removeIntLinkFilter("PortfolioPage");
24 $this->setIntLinkHelpDefaultType("PortfolioTemplatePage");
25
26 $this->setEnablePCType("Verification", false);
27 $this->setEnablePCType("PlaceHolder", true);
28 }
29
31 {
33
34 // no questions
35 $all = array(
38 );
39
40 if (!$ilSetting->get('disable_wsp_certificates')) {
42 }
43
44 return $all;
45 }
46}
$_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
global $DIC
Definition: saml.php:7
settings()
Definition: settings.php:2