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
tce_file.php
Go to the documentation of this file.
1
<?php
24
require __DIR__ .
'/init.php'
;
25
26
$fileController
=
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance
(
'TYPO3\\CMS\\Backend\\Controller\\File\\FileController'
);
27
28
$formprotection
=
\TYPO3\CMS\Core\FormProtection\FormProtectionFactory::get
();
29
if
(
$formprotection
->validateToken(\
TYPO3
\CMS\Core\Utility\GeneralUtility::_GP(
'formToken'
),
'tceAction'
)) {
30
$fileController
->main();
31
}
32
33
$fileController
->finish();
TYPO3
$formprotection
$formprotection
Definition:
tce_file.php:28
TYPO3\CMS\Core\FormProtection\FormProtectionFactory\get
static get($className=NULL)
Definition:
FormProtectionFactory.php:66
TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance
static makeInstance($className)
Definition:
GeneralUtility.php:4424
$fileController
$fileController
Definition:
tce_file.php:26
typo3
tce_file.php
Generated on Wed Aug 7 2019 09:52:31 for TYPO3 CMS by
1.8.13