Class CharLength
Check if the characters length of input is equals specified length
-
Wei\Base
-
Wei\Validator\BaseValidator
-
Wei\Validator\Length
-
Wei\Validator\CharLength
Methods inherited from Wei\Validator\BaseValidator
addError(),
getErrors(),
getFirstMessage(),
getJoinedMessage(),
getMessages(),
getName(),
hasError(),
isString(),
isValid(),
loadTranslationMessages(),
setMessages(),
setName(),
storeOption()
|
Properties summary
protected
string
|
$lengthMessage
|
#
'%name% must have %length% characters'
|
protected
string
|
$notInMessage
|
#
'%name% must have %min% to %max% characters'
|
protected
boolean
|
$countByChars
Whether count the string length by characters or bytes
Whether count the string length by characters or bytes
|
|