Struct which holds a file bundled with the request.
Source for this file: /MvcTools/src/structs/request_file.php
ezcBaseStruct | --ezcMvcRequestFile
Version: | //autogentag// |
public string |
$mimeType
File mimetype. |
public string |
$name
File name. |
public int |
$size
File size. |
public mixed |
$status
Status of the upload. |
public string |
$tmpPath
Temporary file path. |
public static ezcMvcRequestFile |
__set_state(
$array
)
Returns a new instance of this class with the data specified by $array. |
public ezcMvcRequestFile |
__construct(
[ $mimeType
= ''] , [ $name
= ''] , [ $size
= 0] , [ $status
= null] , [ $tmpPath
= ''] )
Constructs a new ezcMvcRequestFile. |
Returns a new instance of this class with the data specified by $array.
$array contains all the data members of this class in the form: array('member_name'=>value).
__set_state makes this class exportable with var_export. var_export() generates code, that calls this method when it is parsed with PHP.
Name | Type | Description |
---|---|---|
$array |
array(string=>mixed) |
Constructs a new ezcMvcRequestFile.
Name | Type | Description |
---|---|---|
$mimeType |
string | |
$name |
string | |
$size |
int | |
$status |
mixed | |
$tmpPath |
string |