MediaWiki  REL1_19
UploadFromFile Class Reference

Implements regular file uploads. More...

Inheritance diagram for UploadFromFile:
Collaboration diagram for UploadFromFile:

List of all members.

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

Detailed Description

Implements regular file uploads.

Author:
Bryan Tong Minh

Definition at line 8 of file UploadFromFile.php.


Member Function Documentation

Returns:
string

Reimplemented from UploadBase.

Definition at line 51 of file UploadFromFile.php.

Referenced by verifyUpload().

Here is the caller graph for this function:

UploadFromFile::initialize ( name,
webRequestUpload 
)

Initialize from a filename and a WebRequestUpload.

Parameters:
$name
$webRequestUpload

Definition at line 32 of file UploadFromFile.php.

References UploadBase\initializePathInfo().

Referenced by initializeFromRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

Parameters:
$requestWebRequest

Reimplemented from UploadBase.

Definition at line 18 of file UploadFromFile.php.

References initialize().

Here is the call graph for this function:

static UploadFromFile::isValidRequest ( request) [static]
Parameters:
$request
Returns:
bool

Reimplemented from UploadBase.

Definition at line 42 of file UploadFromFile.php.

Returns:
array

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

UploadFromFile::$mUpload = null [protected]

Definition at line 13 of file UploadFromFile.php.


The documentation for this class was generated from the following file: