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
HiddenElement.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Form\Domain\Model\Element
;
3
22
class
HiddenElement
extends
\TYPO3\CMS\Form\Domain\Model\Element\AbstractElement
{
23
29
protected
$allowedAttributes
= array(
30
'class'
=>
''
,
31
'id'
=>
''
,
32
'lang'
=>
''
,
33
'name'
=>
''
,
34
'style'
=>
''
,
35
'type'
=>
'hidden'
,
36
'value'
=>
''
37
);
38
44
protected
$mandatoryAttributes
= array(
45
'name'
46
);
47
56
public
function
checkFilterAndSetIncomingDataFromRequest
() {
57
if
($this->requestHandler->has($this->getName())) {
58
$value
= $this->requestHandler->getByMethod($this->
getName
());
59
$value
= $this->filter->filter(
$value
);
60
$this->attributes->addAttribute(
'value'
,
$value
);
61
}
62
return
$this;
63
}
64
65
}
TYPO3\CMS\Form\Domain\Model\Element\AbstractElement
Definition:
AbstractElement.php:22
TYPO3\CMS\Form\Domain\Model\Element\HiddenElement\checkFilterAndSetIncomingDataFromRequest
checkFilterAndSetIncomingDataFromRequest()
Definition:
HiddenElement.php:56
TYPO3\CMS\Form\Domain\Model\Element\HiddenElement\$allowedAttributes
$allowedAttributes
Definition:
HiddenElement.php:29
TYPO3\CMS\Form\Domain\Model\Element\HiddenElement
Definition:
HiddenElement.php:22
TYPO3\CMS\Form\Domain\Model\Element\AbstractElement\getName
getName()
Definition:
AbstractElement.php:218
TYPO3\CMS\Form\Domain\Model\Element\AbstractElement\$value
$value
Definition:
AbstractElement.php:91
TYPO3\CMS\Form\Domain\Model\Element
Definition:
AbstractElement.php:2
TYPO3\CMS\Form\Domain\Model\Element\HiddenElement\$mandatoryAttributes
$mandatoryAttributes
Definition:
HiddenElement.php:44
typo3
sysext
form
Classes
Domain
Model
Element
HiddenElement.php
Generated on Wed Aug 7 2019 09:52:27 for TYPO3 CMS by
1.8.13