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
FormWizard.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\T3editor
;
3
22
class
FormWizard
{
23
31
public
function
main
(
$parameters
, $pObj) {
32
$t3editor =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance
(
'TYPO3\\CMS\\T3editor\\T3editor'
);
33
if
(!$t3editor->isEnabled()) {
34
return
;
35
}
36
if
(
$parameters
[
'params'
][
'format'
] !==
''
) {
37
$t3editor->setModeByType(
$parameters
[
'params'
][
'format'
]);
38
}
else
{
39
$t3editor->setMode(\
TYPO3
\CMS\
T3editor
\
T3editor::MODE_MIXED
);
40
}
41
$config =
$GLOBALS
[
'TCA'
][
$parameters
[
'table'
]][
'columns'
][
$parameters
[
'field'
]][
'config'
];
42
$doc =
$GLOBALS
[
'SOBE'
]->doc;
43
$attributes =
'rows="'
. $config[
'rows'
] .
'" '
.
'cols="'
. $config[
'cols'
] .
'" '
.
'wrap="off" '
.
'style="'
. $config[
'wizards'
][
't3editor'
][
'params'
][
'style'
] .
'" '
.
'onchange="'
. $parameters[
'fieldChangeFunc'
][
'TBE_EDITOR_fieldChanged'
] .
'" '
;
44
$parameters[
'item'
] =
''
;
45
$parameters[
'item'
] .= $t3editor->getCodeEditor($parameters[
'itemName'
],
'fixed-font enable-tab'
, $parameters[
'row'
][$parameters[
'field'
]], $attributes, $parameters[
'table'
] .
' > '
. $parameters[
'field'
], array(
46
'target'
=> (
int
)$pObj->target
47
));
48
$parameters[
'item'
] .= $t3editor->getJavascriptCode($doc);
49
return
''
;
50
}
51
52
}
TYPO3
TYPO3\CMS\T3editor\FormWizard\main
main($parameters, $pObj)
Definition:
FormWizard.php:31
$parameters
$parameters
Definition:
FileDumpEID.php:15
TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance
static makeInstance($className)
Definition:
GeneralUtility.php:4424
TYPO3\CMS\T3editor\FormWizard
Definition:
FormWizard.php:22
TYPO3\CMS\T3editor\T3editor\MODE_MIXED
const MODE_MIXED
Definition:
T3editor.php:31
TYPO3\CMS\T3editor\T3editor
Definition:
T3editor.php:22
TYPO3\CMS\T3editor
Definition:
CodeCompletion.php:2
$GLOBALS
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
Definition:
ext_localconf.php:5
typo3
sysext
t3editor
Classes
FormWizard.php
Generated on Wed Aug 7 2019 09:52:31 for TYPO3 CMS by
1.8.13