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
FileuploadElement.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Form\Domain\Model\Element
;
3
22
class
FileuploadElement
extends
\TYPO3\CMS\Form\Domain\Model\Element\AbstractElement
{
23
29
protected
$allowedAttributes
= array(
30
'accesskey'
=>
''
,
31
'alt'
=>
''
,
32
'class'
=>
''
,
33
'dir'
=>
''
,
34
'disabled'
=>
''
,
35
'id'
=>
''
,
36
'lang'
=>
''
,
37
'name'
=>
''
,
38
'size'
=>
''
,
39
'style'
=>
''
,
40
'tabindex'
=>
''
,
41
'title'
=>
''
,
42
'type'
=>
'file'
43
);
44
50
protected
$mandatoryAttributes
= array(
51
'name'
,
52
'id'
53
);
54
60
public
function
getData
() {
61
$uploadData = $this->requestHandler->get($this->name);
62
return
$uploadData[
'originalFilename'
];
63
}
64
70
public
function
getType
() {
71
$uploadData = $this->requestHandler->get($this->name);
72
return
$uploadData[
'type'
];
73
}
74
80
public
function
getSize
() {
81
$uploadData = $this->requestHandler->get($this->name);
82
return
$uploadData[
'size'
];
83
}
84
85
}
TYPO3\CMS\Form\Domain\Model\Element\FileuploadElement\getType
getType()
Definition:
FileuploadElement.php:70
TYPO3\CMS\Form\Domain\Model\Element\FileuploadElement\$mandatoryAttributes
$mandatoryAttributes
Definition:
FileuploadElement.php:50
TYPO3\CMS\Form\Domain\Model\Element\AbstractElement
Definition:
AbstractElement.php:22
TYPO3\CMS\Form\Domain\Model\Element\FileuploadElement\$allowedAttributes
$allowedAttributes
Definition:
FileuploadElement.php:29
TYPO3\CMS\Form\Domain\Model\Element\FileuploadElement\getData
getData()
Definition:
FileuploadElement.php:60
TYPO3\CMS\Form\Domain\Model\Element
Definition:
AbstractElement.php:2
TYPO3\CMS\Form\Domain\Model\Element\FileuploadElement\getSize
getSize()
Definition:
FileuploadElement.php:80
TYPO3\CMS\Form\Domain\Model\Element\FileuploadElement
Definition:
FileuploadElement.php:22
typo3
sysext
form
Classes
Domain
Model
Element
FileuploadElement.php
Generated on Wed Aug 7 2019 09:52:27 for TYPO3 CMS by
1.8.13