ILIAS  release_4-4 Revision
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  parent::init();
18 
19  $this->setEnablePCType("Verification", false);
20  $this->setEnablePCType("PlaceHolder", true);
21  }
22 
23  public function getAvailablePlaceholderTypes()
24  {
25  global $ilSetting;
26 
27  // no questions
28  $all = array(
31  );
32 
33  if(!$ilSetting->get('disable_wsp_certificates'))
34  {
36  }
37 
38  return $all;
39  }
40 }
41 
42 ?>
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
Portfolio template page configuration.
Portfolio page configuration.
global $ilSetting
Definition: privfeed.php:40