Zend Framework
3.0
|
Public Member Functions | |
__construct ($streamOrFile, $size, $errorStatus, $clientFilename=null, $clientMediaType=null) | |
getStream () | |
{} | |
moveTo ($targetPath) | |
{} | |
getSize () | |
{} | |
getError () | |
{} | |
getClientFilename () | |
{} | |
getClientMediaType () | |
{} | |
__construct | ( | $streamOrFile, | |
$size, | |||
$errorStatus, | |||
$clientFilename = null , |
|||
$clientMediaType = null |
|||
) |
string | resource | $streamOrFile | |
int | $size | |
int | $errorStatus | |
string | null | $clientFilename | |
string | null | $clientMediaType |
InvalidArgumentException |
getClientFilename | ( | ) |
{}
getClientMediaType | ( | ) |
{}
getError | ( | ) |
{}
getSize | ( | ) |
{}
getStream | ( | ) |
{}
\RuntimeException | if the upload was not successful. |
moveTo | ( | $targetPath | ) |
{}
string | $targetPath | Path to which to move the uploaded file. |
\RuntimeException | if the upload was not successful. |
\InvalidArgumentException | if the $path specified is invalid. |
\RuntimeException | on any error during the move operation, or on the second or subsequent call to the method. |