Class iPhorm_Validator_LessThan

Description

LessThan Validator

Located in /iPhorm/Validator/LessThan.php (line 6)

iPhorm_Validator_Abstract
   |
   --iPhorm_Validator_LessThan
Variable Summary
 mixed $_max
Method Summary
 iPhorm_Validator_LessThan __construct ([ $options = array()])
 mixed getMax ()
 boolean isValid (string $value)
 void setMax (mixed $max)
Variables
mixed $_max (line 13)

Maximum value

  • access: protected

Inherited Variables

Inherited from iPhorm_Validator_Abstract

iPhorm_Validator_Abstract::$_messages
Methods
Constructor __construct (line 15)
  • access: public
iPhorm_Validator_LessThan __construct ([ $options = array()])
  • $options
getMax (line 57)

Get the maximum value

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

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

  • access: public
boolean isValid (string $value)
  • string $value
setMax (line 47)

Sets the maximum value

  • access: public
void setMax (mixed $max)
  • mixed $max

Inherited Methods

Inherited From iPhorm_Validator_Abstract

 iPhorm_Validator_Abstract::addMessage()
 iPhorm_Validator_Abstract::getMessages()

Documentation generated on Thu, 24 Feb 2011 22:19:38 +0000 by phpDocumentor 1.4.3