A file upload.
Protected Properties | |
string | $path |
The temporary path. More... | |
string | $remoteName |
The client's name for the file. More... | |
int | $status |
The upload's "error" code. More... | |
Public Methods | |
__construct (int $status, string $remoteName, string $path) | |
null HttpError | getError () |
Generates and returns an HttpError if the status indicates one took place. More... | |
string | getPath () |
string | getRemoteName () |
int | getSize () |
int | getStatus () |
string | getType () |
$this | move (string $path) |
|
protected |
The temporary path.
|
protected |
The client's name for the file.
|
protected |
The upload's "error" code.
__construct | ( | int | $status, |
string | $remoteName, | ||
string | $path | ||
) |
int | $status | |
string | $remoteName | |
string | $path |
null HttpError getError | ( | ) |
Generates and returns an HttpError if the status indicates one took place.
|
final |
|
final |
|
final |
|
final |
|
final |
$this move | ( | string | $path | ) |
string | $path |