API Documentation

Validate/LessThan.php

Includes Classes 
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.

Zend_Validate_LessThan

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

 NOT_LESS = 'notLessThan'

Details

value
notLessThan

Properties

$_max

mixed $_max = ''

Maximum value

Details

$_max
mixed
visibility
protected
default
final
false
static
false

$_messageTemplates

array $_messageTemplates = 'array'

Details

$_messageTemplates
array
visibility
protected
default
array
final
false
static
false

$_messageVariables

array $_messageVariables = 'array'

Details

$_messageVariables
array
visibility
protected
default
array
final
false
static
false

Methods

__construct

__construct( mixed|Zend_Config $max ) : void

Sets validator options

Arguments
$max
mixedZend_Config
Details
visibility
public
final
false
static
false

getMax

getMax( ) : mixed

Returns the max option

Output
mixed
Details
visibility
public
final
false
static
false

isValid

isValid( mixed $value ) : boolean

Defined by Zend_Validate_Interface

Returns true if and only if $value is less than max option

Arguments
$value
mixed
Output
boolean
Details
visibility
public
final
false
static
false

setMax

setMax( mixed $max ) : Zend_Validate_LessThan

Sets the max option

Arguments
$max
mixed
Output
Zend_Validate_LessThan
Provides a fluent interface
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.