eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZHTTPFile

class eZHTTPFile

Constants

UPLOADEDFILE_OK

UPLOADEDFILE_DOES_NOT_EXIST

UPLOADEDFILE_EXCEEDS_PHP_LIMIT

UPLOADEDFILE_EXCEEDS_MAX_SIZE

UPLOADEDFILE_MISSING_TMP_DIR

UPLOADEDFILE_CANT_WRITE

UPLOADEDFILE_UNKNOWN_ERROR

Properties

$HTTPName
$OriginalFilename
$Type
$MimeCategory
$MimePart
$Filename
$Size
$IsTemporary

Methods

eZHTTPFile($http_name, $variable)

storageDir($sub_dir = false)

store($sub_dir = false, $suffix = false, $mimeData = false)

attributes()

hasAttribute($attr)

attribute($attr)

setMimeType($mime)

Details

at line 35
public eZHTTPFile($http_name, $variable)

Parameters

$http_name
$variable

at line 52
public storageDir($sub_dir = false)

Parameters

$sub_dir

at line 66
public store($sub_dir = false, $suffix = false, $mimeData = false)

Parameters

$sub_dir
$suffix
$mimeData

at line 137
public attributes()

at line 151
public hasAttribute($attr)

Parameters

$attr

at line 159
public attribute($attr)

Parameters

$attr

at line 295
public setMimeType($mime)

Parameters

$mime