Class Zend_Validate_GreaterThan

Description

Implements interfaces:

  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Validate/GreaterThan.php (line 36)


	
			
Variable Summary
 array $_messages
 mixed $_min
Method Summary
 void __construct (mixed $min)
 array getMessages ()
 mixed getMin ()
 boolean isValid (mixed $value)
Variables
array $_messages = array() (line 50)

Array of validation failure messages

  • access: protected
mixed $_min (line 43)

Minimum value

  • access: protected
Methods
Constructor __construct (line 58)

Sets validator options

  • access: public
void __construct (mixed $min)
  • mixed $min
getMessages (line 110)

Defined by Zend_Validate_Interface

Returns array of validation failure messages

  • access: public
array getMessages ()

Implementation of:
Zend_Validate_Interface::getMessages()
Returns an array of messages that explain why a previous isValid() call returned false
getMin (line 68)

Returns the min option

  • access: public
mixed getMin ()
isValid (line 93)

Defined by Zend_Validate_Interface

Returns true if and only if $value is greater than min option

  • access: public
boolean isValid (mixed $value)
  • mixed $value

Implementation of:
Zend_Validate_Interface::isValid()
Returns true if and only if $value meets the validation requirements
setMin (line 79)

Sets the min option

  • return: Provides a fluent interface
  • access: public
Zend_Validate_GreaterThan setMin (mixed $min)
  • mixed $min

Documentation generated on Sat, 05 May 2007 11:55:19 -0700 by phpDocumentor 1.3.2