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 26
__construct($fileName, $contentType, $upload)

Parameters

$fileName
$contentType
$upload

in RemoteUploadFile at line 40
string getFileName()

The name of this file

Return Value

string

in RemoteUploadFile at line 52
string getContentType()

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

Return Value

string

in RemoteUploadFile at line 62
string getUpload()

Return Value

string

in RemoteUploadFile at line 74
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