@@ -328,6 +328,11 @@ class V {
return !empty($value);
}
+ public static function filterNotEmptyString($value) {
+ if ('0' === $value) return true;
+ return !empty($value);
+ }
+
public static function filterInteger($value) {// An integer or string with integer value
if (is_int($value)) {
return true;