* add checkGT() method.

This commit is contained in:
wangchunsheng
2011-11-29 02:42:42 +00:00
parent edd01bfffa
commit be5214b576

View File

@@ -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.
*