Zend_Validate_File_SizeValidator for the maximum size of a file up to a max of 2GB
Located in /Validate/File/Size.php (line 35)
Zend_Validate_Abstract | --Zend_Validate_File_Size
| Class | Description |
|---|---|
Zend_Validate_File_FilesSize
|
Validator for the size of all files which will be validated in sum |
integer|null
$_max
(line 76)
Maximum filesize
If null, there is no maximum filesize
array
$_messageTemplates
= array(
array
$_messageVariables
= array(
integer
$_min
(line 67)
Minimum filesize
integer
$_size
(line 83)
Detected size
boolean
$_useByteString
= true (line 90)
Use bytestring ?
Inherited from Zend_Validate_Abstract
Zend_Validate_Abstract::$_defaultTranslator
Zend_Validate_Abstract::$_errors
Zend_Validate_Abstract::$_messageLength
Zend_Validate_Abstract::$_messages
Zend_Validate_Abstract::$_obscureValue
Zend_Validate_Abstract::$_translator
Zend_Validate_Abstract::$_translatorDisabled
Zend_Validate_Abstract::$_value
Constructor __construct (line 103)
Sets validator options
If $options is a integer, it will be used as maximum filesize As Array is accepts the following keys: 'min': Minimum filesize 'max': Maximum filesize 'bytestring': Use bytestring or real size for messages
getMax (line 206)
Returns the maximum filesize
getMin (line 164)
Returns the minimum filesize
isValid (line 274)
Defined by Zend_Validate_Interface
Returns true if and only if the filesize of $value is at least min and not bigger than max (when max is not null).
setMax (line 223)
Sets the maximum filesize
setMin (line 181)
Sets the minimum filesize
setUseByteString (line 142)
Returns the minimum filesize
useByteString (line 153)
Will bytestring be used?
_fromByteString (line 343)
Returns the unformatted size
_getSize (line 247)
Retrieve current detected file size
_throw (line 395)
Throws an error of the given type
_toByteString (line 327)
Returns the formatted size
Inherited From Zend_Validate_Abstract
Zend_Validate_Abstract::getDefaultTranslator()
Zend_Validate_Abstract::getErrors()
Zend_Validate_Abstract::getMessageLength()
Zend_Validate_Abstract::getMessages()
Zend_Validate_Abstract::getMessageTemplates()
Zend_Validate_Abstract::getMessageVariables()
Zend_Validate_Abstract::getObscureValue()
Zend_Validate_Abstract::getTranslator()
Zend_Validate_Abstract::hasDefaultTranslator()
Zend_Validate_Abstract::hasTranslator()
Zend_Validate_Abstract::setDefaultTranslator()
Zend_Validate_Abstract::setDisableTranslator()
Zend_Validate_Abstract::setMessage()
Zend_Validate_Abstract::setMessageLength()
Zend_Validate_Abstract::setMessages()
Zend_Validate_Abstract::setObscureValue()
Zend_Validate_Abstract::setTranslator()
Zend_Validate_Abstract::translatorIsDisabled()
Zend_Validate_Abstract::_createMessage()
Zend_Validate_Abstract::_error()
Zend_Validate_Abstract::_setValue()
Zend_Validate_Abstract::__get()
Documentation generated on Mon, 21 Jun 2010 15:45:03 -0400 by phpDocumentor 1.4.3