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
CheckedAttribute.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Form\Domain\Model\Attribute
;
3
22
class
CheckedAttribute
extends
\TYPO3\CMS\Form\Domain\Model\Attribute\AbstractAttribute
{
23
36
public
function
getValue
() {
37
if
(((
int
)$this->value === 1 || (
bool
) $this->value === TRUE) || strtolower((
string
) $this->value ===
'checked'
)) {
38
$attribute =
'checked'
;
39
}
40
return
$attribute;
41
}
42
43
}
TYPO3\CMS\Form\Domain\Model\Attribute\CheckedAttribute\getValue
getValue()
Definition:
CheckedAttribute.php:36
TYPO3\CMS\Form\Domain\Model\Attribute\CheckedAttribute
Definition:
CheckedAttribute.php:22
TYPO3\CMS\Form\Domain\Model\Attribute\AbstractAttribute
Definition:
AbstractAttribute.php:22
TYPO3\CMS\Form\Domain\Model\Attribute
Definition:
AbstractAttribute.php:2
typo3
sysext
form
Classes
Domain
Model
Attribute
CheckedAttribute.php
Generated on Wed Aug 7 2019 09:52:27 for TYPO3 CMS by
1.8.13