Zend_Validate_File_ImageSizeValidator for the image size of a image file
Located in /Validate/File/ImageSize.php (line 35)
Zend_Validate_Abstract | --Zend_Validate_File_ImageSize
integer
$_height
(line 111)
Detected height
integer
$_maxheight
(line 97)
Maximum image height
integer
$_maxwidth
(line 83)
Maximum image width
array
$_messageTemplates
= array(
array
$_messageVariables
= array(
integer
$_minheight
(line 90)
Minimum image height
integer
$_minwidth
(line 76)
Minimum image width
integer
$_width
(line 104)
Detected width
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 125)
Sets validator options
Accepts the following option keys:
getImageHeight (line 191)
Returns the set image height sizes
getImageMax (line 171)
Returns the set maximum image sizes
getImageMin (line 161)
Returns the set minimum image sizes
getImageWidth (line 181)
Returns the set image width sizes
isValid (line 308)
Defined by Zend_Validate_Interface
Returns true if and only if the imagesize of $value is at least min and not bigger than max
setImageHeight (line 290)
Sets the mimimum and maximum image height
setImageMax (line 241)
Sets the maximum image size
setImageMin (line 204)
Sets the minimum image size
setImageWidth (line 276)
Sets the mimimum and maximum image width
_throw (line 355)
Throws an error of the given type
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()
HEIGHT_TOO_BIG
= 'fileImageSizeHeightTooBig'
(line 42)
HEIGHT_TOO_SMALL
= 'fileImageSizeHeightTooSmall'
(line 43)
NOT_DETECTED
= 'fileImageSizeNotDetected'
(line 44)
NOT_READABLE
= 'fileImageSizeNotReadable'
(line 45)
WIDTH_TOO_BIG
= 'fileImageSizeWidthTooBig'
(line 40)
WIDTH_TOO_SMALL
= 'fileImageSizeWidthTooSmall'
(line 41)
Documentation generated on Mon, 21 Jun 2010 15:28:34 -0400 by phpDocumentor 1.4.3