Class Zend_Validate_LessThan

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

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

Zend_Validate_Abstract
   |
   --Zend_Validate_LessThan
Class Constant Summary
 NOT_LESS = 'notLessThan'
Variable Summary
Method Summary
 void __construct (mixed $max)
 mixed getMax ()
 boolean isValid (mixed $value)
Variables
mixed $_max (line 60)

Maximum value

  • access: protected
array $_messageTemplates = array(
self::NOT_LESS => "'%value%' is not less than '%max%'"
)
(line 44)
  • access: protected

Redefinition of:
Zend_Validate_Abstract::$_messageTemplates
array $_messageVariables = array(
'max' => '_max'
)
(line 51)
  • access: protected

Redefinition of:
Zend_Validate_Abstract::$_messageVariables

Inherited Variables

Inherited from Zend_Validate_Abstract

Zend_Validate_Abstract::$_errors
Zend_Validate_Abstract::$_messages
Zend_Validate_Abstract::$_value
Methods
Constructor __construct (line 68)

Sets validator options

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

Returns the max option

  • access: public
mixed getMax ()
isValid (line 103)

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
setMax (line 89)

Sets the max option

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

Inherited Methods

Inherited From Zend_Validate_Abstract

 Zend_Validate_Abstract::getErrors()
 Zend_Validate_Abstract::getMessages()
 Zend_Validate_Abstract::setMessage()
 Zend_Validate_Abstract::setMessages()
 Zend_Validate_Abstract::_createMessage()
 Zend_Validate_Abstract::_error()
 Zend_Validate_Abstract::_setValue()
 Zend_Validate_Abstract::__get()
Class Constants
NOT_LESS = 'notLessThan' (line 39)

Documentation generated on Sun, 27 May 2007 23:25:18 -0700 by phpDocumentor 1.3.2