class UploadFile extends RemoteUploadFile

deprecated 2.1 Use RemoteUploadFile instead

Methods

__construct($fileName, $contentType, $upload)

No description

string
getFileName()

The name of this file.

string
getContentType()

The Content- (or MIME-)Type of this file.

string
getUpload()

No description

object
jsonSerialize()

Returns an object to be used by json_encode to serialize objects of this class.

Details

in RemoteUploadFile at line 29
__construct($fileName, $contentType, $upload)

Parameters

$fileName
$contentType
$upload

in RemoteUploadFile at line 41
string getFileName()

The name of this file.

Return Value

string

in RemoteUploadFile at line 51
string getContentType()

The Content- (or MIME-)Type of this file.

Return Value

string

in RemoteUploadFile at line 59
string getUpload()

Return Value

string

in RemoteUploadFile at line 71
object jsonSerialize()

Returns an object to be used by json_encode to serialize objects of this class.

Return Value

object

See also

http://php.net/manual/en/jsonserializable.jsonserialize.php JsonSerializable::jsonSerialize