ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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:73
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
ilPCPlaceHolderGUI\TYPE_MEDIA
const TYPE_MEDIA
Definition:
class.ilPCPlaceHolderGUI.php:30
$ilSetting
global $ilSetting
Definition:
privfeed.php:40
Modules
Portfolio
classes
class.ilPortfolioTemplatePageConfig.php
Generated on Mon Mar 31 2025 19:00:37 for ILIAS by
1.8.13 (using
Doxyfile
)