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 
4 include_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 
30  public function getAvailablePlaceholderTypes()
31  {
33 
34  // no questions
35  $all = array(
38  );
39 
40  if (!$ilSetting->get('disable_wsp_certificates')) {
42  }
43 
44  return $all;
45  }
46 }
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
global $DIC
Definition: saml.php:7
setIntLinkHelpDefaultType($a_val)
Set internal link default type.
$_GET["client_id"]
removeIntLinkFilter($a_val)
Remove int link filter.
Portfolio template page configuration.
Portfolio page configuration.
Create styles array
The data for the language used.
settings()
Definition: settings.php:2
global $ilSetting
Definition: privfeed.php:17
addIntLinkFilter($a_val)
Add internal links filter.
setIntLinkHelpDefaultId($a_val, $a_is_ref=true)
Set internal link default id.