Class IdCardMo
Check if the input is valid Macau identity card
- Wei\Base
-
Wei\Validator\BaseValidator
-
Wei\Validator\Regex
-
Wei\Validator\IdCardMo
Namespace: Wei\Validator
Author: Twin Huang twinhuang@qq.com
Link: http://zh.wikipedia.org/wiki/%E6%BE%B3%E9%96%80%E5%B1%85%E6%B0%91%E8%BA%AB%E4%BB%BD%E8%AD%89
Located at Validator/IdCardMo.php
Author: Twin Huang twinhuang@qq.com
Link: http://zh.wikipedia.org/wiki/%E6%BE%B3%E9%96%80%E5%B1%85%E6%B0%91%E8%BA%AB%E4%BB%BD%E8%AD%89
Located at Validator/IdCardMo.php
__invoke(),
doValidate()
|
__call(),
__construct(),
__get(),
getOption(),
setOption()
|
t()
|
protected
string
|
$patternMessage
|
#
'%name% must be valid Macau identity card'
|
protected
string
|
$negativeMessage
The common message for negative validator |
#
'%name% must not be valid Macau identity card'
|
protected
string
|
$pattern
The regex pattern |
#
'/^[1|5|7][\d]{7}$/'
|
$errors,
$name,
$negative,
$notStringMessage,
$validator
|
$providers,
$wei
|
$t
|