Contents |
VF_FieldValidator→__construct
VF_FieldValidator→__construct — Creates a new VF_FieldValidator object
Description
__construct(string $fieldName, integer $fieldType, array $validationRules, array $errorHandlers[, string $fieldHint]);
Creates a new VF_FieldValidator object.
Parameters
- fieldname
Name of the field that has to be validated. - fieldType
See Predefined Constants for all possible field types. - validationRules
See: Validation Rules for all possible validation rules. - errorHandlers
See: Error Handlers for all possible error handlers. - fieldHint
The field hint value revision needed
Return values
No value is returned.
Examples
No examples.

