BaseValidator
Table of Contents
Methods
-
isArray()
: void
-
isNotEmptyArray()
: void
-
maxLen()
: void
-
minLen()
: void
-
strRequire()
: void
isArray()
public
isArray(mixed $value, string $fieldName) : void
Parameters
-
$value
: mixed
-
-
$fieldName
: string
-
-
throws
-
ValidateException
isNotEmptyArray()
public
isNotEmptyArray(mixed $value, string $fieldName) : void
Parameters
-
$value
: mixed
-
-
$fieldName
: string
-
-
throws
-
ValidateException
maxLen()
public
maxLen(string $str, int $len, string $fieldName) : void
Parameters
-
$str
: string
-
-
$len
: int
-
-
$fieldName
: string
-
-
throws
-
ValidateException
minLen()
public
minLen(string $str, int $len, string $fieldName) : void
Parameters
-
$str
: string
-
-
$len
: int
-
-
$fieldName
: string
-
-
throws
-
ValidateException
strRequire()
public
strRequire(mixed $value, string $fieldName) : void
Parameters
-
$value
: mixed
-
-
$fieldName
: string
-
-
throws
-
ValidateException