* remore checkGT and checkGE for class fixer to class validater.
This commit is contained in:
+28
-27
@@ -229,6 +229,34 @@ class validater
|
||||
return $var == $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Must greater than a value.
|
||||
*
|
||||
* @param mixed $var
|
||||
* @param mixed $value
|
||||
* @static
|
||||
* @access public
|
||||
* @return bool
|
||||
*/
|
||||
public static function checkGT($var, $value)
|
||||
{
|
||||
return $var > $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Must greater than or equal a value.
|
||||
*
|
||||
* @param mixed $var
|
||||
* @param mixed $value
|
||||
* @static
|
||||
* @access public
|
||||
* @return bool
|
||||
*/
|
||||
public static function checkGE($var, $value)
|
||||
{
|
||||
return $var >= $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Call a function to check it.
|
||||
*
|
||||
@@ -397,33 +425,6 @@ class fixer
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Must greater than a value.
|
||||
*
|
||||
* @param mixed $var
|
||||
* @param mixed $value
|
||||
* @static
|
||||
* @access public
|
||||
* @return bool
|
||||
*/
|
||||
public static function checkGT($var, $value)
|
||||
{
|
||||
return $var > $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Must greater than or equal a value.
|
||||
*
|
||||
* @param mixed $var
|
||||
* @param mixed $value
|
||||
* @static
|
||||
* @access public
|
||||
* @return bool
|
||||
*/
|
||||
public static function checkGE($var, $value)
|
||||
{
|
||||
return $var >= $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Strip tags
|
||||
|
||||
Reference in New Issue
Block a user