Validate/LessThan.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Validate
- version
- $Id: LessThan.php 20182 2010-01-10 21:12:01Z thomas $
- Classes
- Zend_Validate_LessThan
Description
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Extends from
- Zend_Validate_Abstract
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Validate
- Constants
- NOT_LESS
- Properties
- $_messageTemplates
- $_messageVariables
- $_max
- Methods
- __construct
- getMax
- setMax
- isValid
Description
Constants
NOT_LESS = 'notLessThan'
Details
- value
- notLessThan
Properties
mixed $_max = ''
Maximum value
Details
- $_max
- mixed
- visibility
- protected
- default
- final
- false
- static
- false
array $_messageTemplates = 'array'
Details
- $_messageTemplates
- array
- visibility
- protected
- default
- array
- final
- false
- static
- false
array $_messageVariables = 'array'
Details
- $_messageVariables
- array
- visibility
- protected
- default
- array
- final
- false
- static
- false
Methods
__construct(
mixed|Zend_Config $max
)
:
void
Sets validator options
Arguments
- $max
- mixedZend_Config
Details
- visibility
- public
- final
- false
- static
- false
getMax(
)
:
mixed
Returns the max option
Details
- visibility
- public
- final
- false
- static
- false
isValid(
mixed $value
)
:
boolean
Defined by Zend_Validate_Interface
Returns true if and only if $value is less than max option
Details
- visibility
- public
- final
- false
- static
- false
setMax(
mixed $max
)
:
Zend_Validate_LessThan
Sets the max option
Details
- visibility
- public
- final
- false
- static
- false