MediaWiki  REL1_22
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

WebRequestUpload $mUpload = null

Detailed Description

Implements regular file uploads.

Author:
Bryan Tong Minh

Definition at line 30 of file UploadFromFile.php.


Member Function Documentation

Returns:
string

Reimplemented from UploadBase.

Definition at line 73 of file UploadFromFile.php.

UploadFromFile::initialize ( name,
webRequestUpload 
)

Initialize from a filename and a WebRequestUpload.

Parameters:
$name
$webRequestUpload

Definition at line 54 of file UploadFromFile.php.

Parameters:
$requestWebRequest

Reimplemented from UploadBase.

Definition at line 39 of file UploadFromFile.php.

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

Reimplemented from UploadBase.

Definition at line 64 of file UploadFromFile.php.

Returns:
array

Reimplemented from UploadBase.

Definition at line 80 of file UploadFromFile.php.

Referenced by UploadFromChunks\concatenateChunks().


Member Data Documentation

WebRequestUpload UploadFromFile::$mUpload = null [protected]

Definition at line 34 of file UploadFromFile.php.


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