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
OptgroupElement.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Form\Domain\Model\Element
;
3
22
class
OptgroupElement
extends
\TYPO3\CMS\Form\Domain\Model\Element\ContainerElement
{
23
29
protected
$allowedAttributes
= array(
30
'class'
=>
''
,
31
'disabled'
=>
''
,
32
'id'
=>
''
,
33
'label'
=>
'optgroup'
,
34
'lang'
=>
''
,
35
'style'
=>
''
,
36
'title'
=>
''
37
);
38
44
protected
$mandatoryAttributes
= array();
45
53
public
function
setParentName($parentName) {
55
foreach
($this->elements as $element) {
56
$element->setParentName($parentName);
57
}
58
return
$this;
59
}
60
67
public
function
addElement
(\
TYPO3
\CMS\
Form
\Domain\Model\Element\
OptionElement
$element) {
68
$this->elements[] = $element;
69
return
$this;
70
}
71
72
}
TYPO3\CMS\Form\Domain\Model\Form
Definition:
Form.php:25
TYPO3\CMS\Form\Domain\Model\Element\OptionElement
Definition:
OptionElement.php:22
TYPO3
TYPO3\CMS\Form\Domain\Model\Element\OptgroupElement
Definition:
OptgroupElement.php:22
TYPO3\CMS\Form\Domain\Model\Element\OptgroupElement\$mandatoryAttributes
$mandatoryAttributes
Definition:
OptgroupElement.php:44
TYPO3\CMS\Form\Domain\Model\Element\OptgroupElement\$allowedAttributes
$allowedAttributes
Definition:
OptgroupElement.php:29
TYPO3\CMS\Form\Domain\Model\Element\OptgroupElement\addElement
addElement(\TYPO3\CMS\Form\Domain\Model\Element\OptionElement $element)
Definition:
OptgroupElement.php:67
TYPO3\CMS\Form\Domain\Model\Element\ContainerElement
Definition:
ContainerElement.php:22
TYPO3\CMS\Form\Domain\Model\Element
Definition:
AbstractElement.php:2
typo3
sysext
form
Classes
Domain
Model
Element
OptgroupElement.php
Generated on Wed Aug 7 2019 09:52:27 for TYPO3 CMS by
1.8.13