Class Zend_Validate_LessThan

Description

Implements interfaces:

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

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


	
			
Variable Summary
 mixed $_max
 array $_messages
Method Summary
 void __construct (mixed $max)
 mixed getMax ()
 array getMessages ()
 boolean isValid (mixed $value)
Variables
mixed $_max (line 43)

Maximum value

  • access: protected
array $_messages = array() (line 50)

Array of validation failure messages

  • access: protected
Methods
Constructor __construct (line 58)

Sets validator options

  • access: public
void __construct (mixed $max)
  • mixed $max
getMax (line 68)

Returns the max option

  • access: public
mixed getMax ()
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
isValid (line 93)

Defined by Zend_Validate_Interface

Returns true if and only if $value is less than max 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
setMax (line 79)

Sets the max option

  • return: Provides a fluent interface
  • access: public
Zend_Validate_LessThan setMax (mixed $max)
  • mixed $max

Documentation generated on Sat, 05 May 2007 11:56:04 -0700 by phpDocumentor 1.3.2