Class FieldExists
Check if the validate fields data is exists
- Wei\Base
-
Wei\Validator\BaseValidator
-
Wei\Validator\FieldExists
protected
boolean
|
__call(),
__construct(),
__get(),
getOption(),
setOption()
|
t()
|
protected
string
|
$tooFewMessage
|
#
'%name% must contain at least %min% item(s)'
|
protected
string
|
$tooManyMessage
|
#
'%name% must contain no more than %max% items'
|
protected
string
|
$lengthMessage
|
#
'%name% must contain %length% item(s)'
|
protected
array
|
$fields
Which fields should exists in validate data |
#
array()
|
protected
integer
|
$length
How many fields should exist |
|
protected
integer
|
$min
How many fields should exist at least |
|
protected
integer
|
$max
How many fields should exist at most |
|
protected
integer
|
$count
How many fields found in validate data |
$errors,
$name,
$negative,
$negativeMessage,
$notStringMessage,
$validator
|
$providers,
$wei
|
$t
|