+ add empty checking method.

This commit is contained in:
wangchunsheng
2010-11-25 15:30:36 +00:00
parent 21e215815c
commit da82c516b4
+14 -1
View File
@@ -176,7 +176,7 @@ class validater
}
/**
* Empty checking.
* Not empty checking.
*
* @param mixed $var
* @static
@@ -188,6 +188,19 @@ class validater
return !empty($var);
}
/**
* Empty checking.
*
* @param mixed $var
* @static
* @access public
* @return bool
*/
public static function checkEmpty($var)
{
return empty($var);
}
/**
* Account checking.
*