2009. Class

2009.1. Zend\Validator\LessThan

2009.1.1. Methods

2009.1.1.1. __construct

__construct()

Sets validator options

Parameters:array|Traversable
Throws ExceptionInvalidArgumentException:
 

2009.1.1.2. getMax

getMax()

Returns the max option

Return type:mixed

2009.1.1.3. setMax

setMax()

Sets the max option

Parameters:mixed
Return type:LessThan Provides a fluent interface

2009.1.1.4. getInclusive

getInclusive()

Returns the inclusive option

Return type:bool

2009.1.1.5. setInclusive

setInclusive()

Sets the inclusive option

Parameters:bool
Return type:LessThan Provides a fluent interface

2009.1.1.6. isValid

isValid()

Returns true if and only if $value is less than max option, inclusively when the inclusive option is true

Parameters:mixed
Return type:bool

2009.1.2. Constants

2009.1.2.1. NOT_LESS

2009.1.2.2. NOT_LESS_INCLUSIVE