## Zend_Validate_LessThan

Description

Implements interfaces:

- Zend_Validate_Interface

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

Located in /Zend/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)
Zend_Validate_LessThan setMax (mixed $max)
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 Wed, 21 Feb 2007 11:52:57 -0800 by phpDocumentor 1.3.1