...
Methods
Method name | Description | Example |
---|---|---|
setOptions(options) | This method can be used to set an array validation options | |
setOption(name, value) | This method can be used to set an validation option | |
getOption(name) | This method returns a option by its name | |
getErrors() | This method returns errors | |
isValid(value) | This method can be used to run a value against your specified options |
How to use
At first you need to get an validator object. To reach this goal you have to call the static getInstance method from the cValidatorFactory class.
...