category OSS
package OSS_Validate
copyright Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland
license New BSD License

 Methods

Constructor

__construct($params) : void

$table and $column are required parameters.

Parameters

$params

Exceptions

\OSS_Validate_Exception

Returns true if and only if $value is integer and between $minimum and $maximum

isValid(mixed $value) : bool

Parameters

$value

mixed

Returns

bool

 Properties

 

Minimum value

$maximum : int
 

Minimum value

$minimum : int
 

Error message templates

$_messageTemplates : array
 

Error message variables

$_messageVariables : array

 Constants

 

MSG_MAXIMUM

MSG_MAXIMUM 
 

MSG_MINIMUM

MSG_MINIMUM 
 

MSG_NUMERIC

MSG_NUMERIC