Class File
Representation of a POST file.
- ICanBoogie\HTTP\File implements ICanBoogie\ToArray uses ICanBoogie\PrototypeTrait
Methods summary
public static
|
|
public static
string
|
|
protected
string
|
|
protected
string
|
|
protected
string|null
|
|
protected
integer|null
|
|
protected
boolean
|
|
protected
string
|
|
protected
|
|
public
array
|
|
protected
string
|
|
protected
|
|
protected
string|null
|
|
protected
boolean
|
|
public
boolean
|
|
public
|
Methods used from ICanBoogie\PrototypeTrait
__call(),
__get(),
__set(),
__sleep(),
__wakeup(),
get_prototype(),
has_method(),
has_property(),
last_chance_get(),
last_chance_set()
Magic methods summary
Properties summary
protected static
array
|
$types | |
protected static
array
|
$types_alias | |
protected
mixed
|
$name | |
protected
mixed
|
$type | |
protected
mixed
|
$size | |
protected
mixed
|
$tmp_name | |
protected
mixed
|
$error | |
protected
mixed
|
$pathname |
Magic properties
public read-only
string
|
$name | |
#
Name of the file. |
public read-only
string
|
$type | |
#
MIME type of the file. |
public read-only
string
|
$size | |
#
Size of the file. |
public read-only
string
|
$error | |
#
Error code, one of |
public read-only
string
|
$error_message | |
#
A formatted message representing the error. |
public read-only
string
|
$pathname | |
#
Pathname of the file. |
public read-only
string
|
$extension | |
#
The extension of the file. If any, the dot is included e.g. ".zip". |
public read-only
string
|
$unsuffixed_name | |
#
The name of the file without its extension. |
public read-only
boolean
|
$is_uploaded | |
#
|
public read-only
boolean
|
$is_valid | |
#
|