Class RecordExists
Check if the input is existing table record
- Wei\Base
-
Wei\Validator\BaseValidator
-
Wei\Validator\RecordExists
public
boolean
|
|
protected
boolean
|
|
public
array
|
__call(),
__construct(),
__get(),
getOption(),
setOption()
|
t()
|
protected
string
|
$notFoundMessage
The message added when query return empty result |
#
'%name% not exists'
|
protected
string
|
$negativeMessage
The message for negative mode |
#
'%name% already exists'
|
protected
string
|
$table
The name of table |
|
protected
string
|
$field
The field to search |
#
'id'
|
protected
array
|
$data
The data fetch from database |
#
array()
|
$errors,
$name,
$negative,
$notStringMessage,
$validator
|
$providers,
$wei
|
$t
|