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
WizardController.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Form\Controller
;
3
22
class
WizardController
{
23
31
public
function
dispatch
() {
32
switch
(\
TYPO3
\CMS\Core\Utility\GeneralUtility::_GP(
'action'
)) {
33
case
'save'
:
34
$this->saveAction();
35
break
;
36
case
'load'
:
37
$this->loadAction();
38
break
;
39
default
:
40
$this->indexAction();
41
}
42
}
43
51
protected
function
indexAction() {
53
$view =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance
(
'TYPO3\\CMS\\Form\\View\\Wizard\\WizardView'
, $this->
getRepository
());
54
$view->render();
55
}
56
64
protected
function
saveAction() {
66
$view =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance
(
'TYPO3\\CMS\\Form\\View\\Wizard\\SaveWizardView'
, $this->
getRepository
());
67
$view->render();
68
}
69
77
protected
function
loadAction() {
79
$view =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance
(
'TYPO3\\CMS\\Form\\View\\Wizard\\LoadWizardView'
, $this->
getRepository
());
80
$view->render();
81
}
82
88
protected
function
getRepository
() {
89
return \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
'TYPO3\\CMS\\Form\\Domain\\Repository\\ContentRepository'
);
90
}
91
92
}
TYPO3
TYPO3\CMS\Form\Controller\WizardController
Definition:
WizardController.php:22
TYPO3\CMS\Form\Controller
Definition:
FormController.php:2
TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance
static makeInstance($className)
Definition:
GeneralUtility.php:4424
TYPO3\CMS\Form\Controller\WizardController\getRepository
getRepository()
Definition:
WizardController.php:88
TYPO3\CMS\Form\Controller\WizardController\dispatch
dispatch()
Definition:
WizardController.php:31
typo3
sysext
form
Classes
Controller
WizardController.php
Generated on Wed Aug 7 2019 09:52:27 for TYPO3 CMS by
1.8.13