Interface I_CmsValidator
-
- All Known Implementing Classes:
CmsNonEmptyValidator
,CmsRegexValidator
,CmsUrlNameValidator
public interface I_CmsValidator
This interface is used to tell an object that it should either validate a form field or request an asynchronous validation from aI_CmsValidationController
.- Since:
- 8.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate(I_CmsFormField field, I_CmsValidationController controller)
If this method is called, the object should either validate the form field and report the result to the validation controller, or request asynchronous validation of the field from the validation controller.
-
-
-
Method Detail
-
validate
void validate(I_CmsFormField field, I_CmsValidationController controller)
If this method is called, the object should either validate the form field and report the result to the validation controller, or request asynchronous validation of the field from the validation controller.- Parameters:
field
- the form field to be validatedcontroller
- the validation controller
-
-