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