* add checkGT() method.
This commit is contained in:
@@ -229,6 +229,20 @@ class validater
|
||||
return $var == $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Must greate than a value.
|
||||
*
|
||||
* @param mixed $var
|
||||
* @param mixed $value
|
||||
* @static
|
||||
* @access public
|
||||
* @return bool
|
||||
*/
|
||||
public static function checkGT($var, $value)
|
||||
{
|
||||
return $var > $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Call a function to check it.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user