Class PostcodeCn
Check if the input is valid Chinese postcode
-
Wei\Base
-
Wei\Validator\BaseValidator
-
Wei\Validator\Regex
-
Wei\Validator\PostcodeCn
Methods inherited from Wei\Validator\BaseValidator
addError(),
getErrors(),
getFirstMessage(),
getJoinedMessage(),
getMessages(),
getName(),
hasError(),
isString(),
isValid(),
loadTranslationMessages(),
setMessages(),
setName(),
storeOption()
|
Properties summary
protected
string
|
$patternMessage
|
#
'%name% must be six length of digit'
|
protected
string
|
$negativeMessage
The common message for negative validator
The common message for negative validator
|
#
'%name% must not be postcode'
|
protected
string
|
$pattern
|
|