Validator Class
Constructor
Methods
message
(
String
-
[attr]
Returns a validation message.
Parameters:
-
[attr]
Object optionalAny template variables.
Returns:
String:
validate
(
ValidationResult
-
value
-
data
Run validation.
Parameters:
-
value
ArrayAn array of variables.
-
data
Object