Contents |
VF_Validator::validate
VF_Validator::validate — Validate the given value using the given checkType
Description
validate(integer $checkType, string $value);
Validate the given value using the given checkType.
Parameters
- checkType
The type of field that needs to be checked. - value
The value of the field that has to be checked.
Return values
Boolean. True if the field is valid, false if not.
Examples
No examples.

