\UploadedFile

[WeEngine System] Copyright (c) 2014 WE7.CC WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.

Summary

Methods
Properties
Constants
__construct()
isOk()
isMoved()
moveTo()
getSize()
getError()
getClientFilename()
getClientMediaType()
isImage()
clientExtension()
allowExt()
getContent()
createFromGlobal()
createArrayFile()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
setStreamOrFile()
setError()
setSize()
isStringOrNull()
isStringNotEmpty()
setClientFilename()
setClientMediaType()
validateActive()
create()
createUploadedFile()
$errors
$clientFilename
$clientMediaType
$error
$file
$moved
$size
N/A

Properties

$errors

$errors : 

Type

$clientFilename

$clientFilename : 

Type

$clientMediaType

$clientMediaType : 

Type

$error

$error : 

Type

$file

$file : 

Type

$moved

$moved : 

Type

$size

$size : 

Type

Methods

__construct()

__construct(  $streamOrFile,   $size,   $errorStatus,   $clientFilename = null,   $clientMediaType = null) 

Parameters

$streamOrFile
$size
$errorStatus
$clientFilename
$clientMediaType

isOk()

isOk() 

isMoved()

isMoved() 

moveTo()

moveTo(  $targetPath) 

Parameters

$targetPath

getSize()

getSize() 

getError()

getError() 

getClientFilename()

getClientFilename() 

getClientMediaType()

getClientMediaType() 

isImage()

isImage() 

clientExtension()

clientExtension() 

allowExt()

allowExt(  $ext) 

Parameters

$ext

getContent()

getContent() 

createFromGlobal()

createFromGlobal() 

createArrayFile()

createArrayFile(  $files) 

Parameters

$files

setStreamOrFile()

setStreamOrFile(  $streamOrFile) 

Parameters

$streamOrFile

setError()

setError(  $error) 

Parameters

$error

setSize()

setSize(  $size) 

Parameters

$size

isStringOrNull()

isStringOrNull(  $param) 

Parameters

$param

isStringNotEmpty()

isStringNotEmpty(  $param) 

Parameters

$param

setClientFilename()

setClientFilename(  $clientFilename) 

Parameters

$clientFilename

setClientMediaType()

setClientMediaType(  $clientMediaType) 

Parameters

$clientMediaType

validateActive()

validateActive() 

create()

create(  $file) 

Parameters

$file

createUploadedFile()

createUploadedFile(  $value) 

Parameters

$value