TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
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
+
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
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
▼
TYPO3 CMS
TYPO3 CMS
Test List
Todo List
Deprecated List
►
Namespace Members
►
Classes
▼
Files
►
File List
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
AbstractCustomPreset.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Install\Configuration
;
3
17
use
TYPO3\CMS\Core\Utility\GeneralUtility
;
18
22
abstract
class
AbstractCustomPreset
extends
AbstractPreset
{
23
27
protected
$name
=
'Custom'
;
28
32
protected
$isActive
= FALSE;
33
37
protected
$priority
= 10;
38
44
public
function
isActive
() {
45
return
$this->isActive
;
46
}
47
58
public
function
setActive
() {
59
$this->
isActive
= TRUE;
60
}
61
67
public
function
isAvailable
() {
68
return
TRUE;
69
}
70
78
public
function
getConfigurationValues
() {
79
$configurationValues
= array();
80
foreach
($this->configurationValues as $configurationKey => $configurationValue) {
81
if
(isset($this->postValues[
'enable'
])
82
&& $this->postValues[
'enable'
] === $this->name
83
&& isset($this->postValues[$this->name][$configurationKey])
84
) {
85
$currentValue = $this->postValues[
$this->name
][$configurationKey];
86
}
else
{
87
$currentValue = $this->configurationManager->getConfigurationValueByPath($configurationKey);
88
}
89
$configurationValues
[$configurationKey] = $currentValue;
90
}
91
return
$configurationValues
;
92
}
93
}
GeneralUtility
TYPO3\CMS\Install\Configuration\AbstractCustomPreset\setActive
setActive()
Definition:
AbstractCustomPreset.php:58
TYPO3\CMS\Install\Configuration\AbstractCustomPreset\isActive
isActive()
Definition:
AbstractCustomPreset.php:44
TYPO3\CMS\Install\Configuration\AbstractCustomPreset\getConfigurationValues
getConfigurationValues()
Definition:
AbstractCustomPreset.php:78
TYPO3\CMS\Install\Configuration\AbstractCustomPreset\$isActive
$isActive
Definition:
AbstractCustomPreset.php:32
TYPO3\CMS\Install\Configuration\AbstractCustomPreset
Definition:
AbstractCustomPreset.php:22
TYPO3\CMS\Install\Configuration\AbstractCustomPreset\isAvailable
isAvailable()
Definition:
AbstractCustomPreset.php:67
TYPO3\CMS\Install\Configuration\AbstractCustomPreset\$priority
$priority
Definition:
AbstractCustomPreset.php:37
TYPO3\CMS\Install\Configuration
Definition:
AbstractCustomPreset.php:2
TYPO3\CMS\Install\Configuration\AbstractCustomPreset\$name
$name
Definition:
AbstractCustomPreset.php:27
TYPO3\CMS\Install\Configuration\AbstractPreset\$configurationValues
$configurationValues
Definition:
AbstractPreset.php:43
TYPO3\CMS\Install\Configuration\AbstractPreset
Definition:
AbstractPreset.php:22
typo3
sysext
install
Classes
Configuration
AbstractCustomPreset.php
Generated on Wed Aug 7 2019 09:52:29 for TYPO3 CMS by
1.8.13