MediaWiki
REL1_19
|
Implements regular file uploads. More...
Public Member Functions | |
getSourceType () | |
initialize ($name, $webRequestUpload) | |
Initialize from a filename and a WebRequestUpload. | |
initializeFromRequest (&$request) | |
verifyUpload () | |
Static Public Member Functions | |
static | isValidRequest ($request) |
Protected Attributes | |
$mUpload = null |
Implements regular file uploads.
Definition at line 8 of file UploadFromFile.php.
Reimplemented from UploadBase.
Definition at line 51 of file UploadFromFile.php.
Referenced by verifyUpload().
UploadFromFile::initialize | ( | $ | name, |
$ | webRequestUpload | ||
) |
Initialize from a filename and a WebRequestUpload.
$name | |
$webRequestUpload |
Definition at line 32 of file UploadFromFile.php.
References UploadBase\initializePathInfo().
Referenced by initializeFromRequest().
UploadFromFile::initializeFromRequest | ( | &$ | request | ) |
$request | WebRequest |
Reimplemented from UploadBase.
Definition at line 18 of file UploadFromFile.php.
References initialize().
static UploadFromFile::isValidRequest | ( | $ | request | ) | [static] |
$request |
Reimplemented from UploadBase.
Definition at line 42 of file UploadFromFile.php.
Reimplemented from UploadBase.
Definition at line 58 of file UploadFromFile.php.
References UploadBase\FILE_TOO_LARGE, getSourceType(), UploadBase\isEmptyFile(), and wfShorthandToInteger().
Referenced by UploadFromChunks\concatenateChunks().
UploadFromFile::$mUpload = null [protected] |
Definition at line 13 of file UploadFromFile.php.