public static function checkEmptyString($string, $errorMsg) { ValidateFunc::check($string != null && trim($string) !== "", $errorMsg); }