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
FormView.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Form\View\Form
;
3
22
class
FormView
extends
\TYPO3\CMS\Form\View\Form\Element\ContainerElementView
{
23
27
protected
$expectedModelName
=
'TYPO3\\CMS\\Form\\Domain\\Model\\Form'
;
28
34
protected
$layout
=
'
35
<form>
36
<containerWrap />
37
</form>'
;
38
45
public
function
setData
(\
TYPO3
\CMS\Form\Domain\Model\Form
$model
) {
46
$this->model = (object) $model;
47
}
48
56
public
function
get
() {
57
$node = $this->
render
(
'element'
, FALSE);
58
$content = chr(10) . html_entity_decode($node->saveXML($node->firstChild), ENT_QUOTES,
'UTF-8'
) . chr(10);
59
return
$content;
60
}
61
62
}
TYPO3
TYPO3\CMS\Form\View\Form\FormView
Definition:
FormView.php:22
TYPO3\CMS\Form\View\Form\Element\ContainerElementView
Definition:
ContainerElementView.php:22
TYPO3\CMS\Form\View\Form
TYPO3\CMS\Form\View\Form\FormView\$layout
$layout
Definition:
FormView.php:34
TYPO3\CMS\Form\View\Form\Element\AbstractElementView\$model
$model
Definition:
AbstractElementView.php:29
TYPO3\CMS\Form\View\Form\FormView\setData
setData(\TYPO3\CMS\Form\Domain\Model\Form $model)
Definition:
FormView.php:45
TYPO3\CMS\Form\View\Form\Element\AbstractElementView\render
render($type='element', $returnFirstChild=TRUE)
Definition:
AbstractElementView.php:215
TYPO3\CMS\Form\View\Form\FormView\$expectedModelName
$expectedModelName
Definition:
FormView.php:27
typo3
sysext
form
Classes
View
Form
FormView.php
Generated on Wed Aug 7 2019 09:52:27 for TYPO3 CMS by
1.8.13