MediaWiki
1.23.2
|
Object to access the $_FILES array. More...
Public Member Functions | |
__construct ( $request, $key) | |
Constructor. More... | |
exists () | |
Return whether a file with this name was uploaded. More... | |
getError () | |
Return the upload error. More... | |
getName () | |
Return the original filename of the uploaded file. More... | |
getSize () | |
Return the file size of the uploaded file. More... | |
getTempName () | |
Return the path to the temporary file. More... | |
isIniSizeOverflow () | |
Returns whether this upload failed because of overflow of a maximum set in php.ini. More... | |
Protected Attributes | |
$doesExist | |
$fileInfo | |
$request | |
Object to access the $_FILES array.
Definition at line 1159 of file WebRequest.php.
WebRequestUpload::__construct | ( | $request, | |
$key | |||
) |
Constructor.
Should only be called by WebRequest
$request | WebRequest The associated request | |
string | $key | Key in $_FILES array (name of form field) |
Definition at line 1170 of file WebRequest.php.
WebRequestUpload::exists | ( | ) |
Return whether a file with this name was uploaded.
Definition at line 1183 of file WebRequest.php.
WebRequestUpload::getError | ( | ) |
Return the upload error.
See link for explanation http://www.php.net/manual/en/features.file-upload.errors.php
Definition at line 1240 of file WebRequest.php.
WebRequestUpload::getName | ( | ) |
Return the original filename of the uploaded file.
Definition at line 1192 of file WebRequest.php.
WebRequestUpload::getSize | ( | ) |
Return the file size of the uploaded file.
Definition at line 1213 of file WebRequest.php.
WebRequestUpload::getTempName | ( | ) |
Return the path to the temporary file.
Definition at line 1226 of file WebRequest.php.
WebRequestUpload::isIniSizeOverflow | ( | ) |
Returns whether this upload failed because of overflow of a maximum set in php.ini.
Definition at line 1254 of file WebRequest.php.
|
protected |
Definition at line 1161 of file WebRequest.php.
|
protected |
Definition at line 1162 of file WebRequest.php.
|
protected |
Definition at line 1160 of file WebRequest.php.