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
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
HeaderJsonElement.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Form\Domain\Model\Json
;
3
22
class
HeaderJsonElement
extends
\TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement
{
23
29
public
$xtype
=
'typo3-form-wizard-elements-content-header'
;
30
36
public
$configuration
= array(
37
'attributes'
=> array(),
38
'various'
=> array(
39
'headingSize'
=>
'h1'
,
40
'content'
=>
''
41
)
42
);
43
49
protected
$allowedAttributes
= array(
50
'class'
,
51
'dir'
,
52
'id'
,
53
'lang'
,
54
'style'
,
55
'title'
56
);
57
65
public
function
setParameters
(array
$parameters
) {
66
parent::setParameters($parameters);
67
$this->
setVarious
($parameters);
68
}
69
78
protected
function
setVarious
(array
$parameters
) {
79
if
(isset($parameters[
'headingSize'
])) {
80
if
(preg_match(
'#^h[1-5]$#'
, $parameters[
'headingSize'
])) {
81
$this->configuration[
'various'
][
'headingSize'
] = $parameters[
'headingSize'
];
82
}
83
}
84
if
(isset($parameters[
'content'
])) {
85
$this->configuration[
'various'
][
'content'
] = $parameters[
'content'
];
86
}
87
}
88
89
}
$parameters
$parameters
Definition:
FileDumpEID.php:15
TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement\$configuration
$configuration
Definition:
HeaderJsonElement.php:36
TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement\$allowedAttributes
$allowedAttributes
Definition:
HeaderJsonElement.php:49
TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement\$xtype
$xtype
Definition:
HeaderJsonElement.php:29
TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement
Definition:
AbstractJsonElement.php:22
TYPO3\CMS\Form\Domain\Model\Json
Definition:
AbstractJsonElement.php:2
TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement
Definition:
HeaderJsonElement.php:22
TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement\setParameters
setParameters(array $parameters)
Definition:
HeaderJsonElement.php:65
TYPO3\CMS\Form\Domain\Model\Json\HeaderJsonElement\setVarious
setVarious(array $parameters)
Definition:
HeaderJsonElement.php:78
typo3
sysext
form
Classes
Domain
Model
Json
HeaderJsonElement.php
Generated on Wed Aug 7 2019 09:52:27 for TYPO3 CMS by
1.8.13