ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
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
13
class
ilPortfolioTemplatePageConfig
extends
ilPortfolioPageConfig
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
(
29
ilPCPlaceHolderGUI::TYPE_TEXT
,
30
ilPCPlaceHolderGUI::TYPE_MEDIA
31
);
32
33
if
(!$ilSetting->get(
'disable_wsp_certificates'
))
34
{
35
$all[] =
ilPCPlaceHolderGUI::TYPE_VERIFICATION
;
36
}
37
38
return
$all;
39
}
40
}
41
42
?>
ilPCPlaceHolderGUI\TYPE_TEXT
const TYPE_TEXT
Definition:
class.ilPCPlaceHolderGUI.php:28
ilPCPlaceHolderGUI\TYPE_VERIFICATION
const TYPE_VERIFICATION
Definition:
class.ilPCPlaceHolderGUI.php:31
ilPageConfig\setEnablePCType
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
Definition:
class.ilPageConfig.php:79
ilPortfolioTemplatePageConfig\getAvailablePlaceholderTypes
getAvailablePlaceholderTypes()
Definition:
class.ilPortfolioTemplatePageConfig.php:23
ilPortfolioTemplatePageConfig
Portfolio template page configuration.
Definition:
class.ilPortfolioTemplatePageConfig.php:13
ilPortfolioTemplatePageConfig\init
init()
Definition:
class.ilPortfolioTemplatePageConfig.php:15
ilPortfolioPageConfig
Portfolio page configuration.
Definition:
class.ilPortfolioPageConfig.php:14
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilPCPlaceHolderGUI\TYPE_MEDIA
const TYPE_MEDIA
Definition:
class.ilPCPlaceHolderGUI.php:30
$ilSetting
global $ilSetting
Definition:
privfeed.php:17
php
Modules
Portfolio
classes
class.ilPortfolioTemplatePageConfig.php
Generated on Fri Jan 17 2025 19:01:01 for ILIAS by
1.8.13 (using
Doxyfile
)