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 a
I_CmsValidationController
.- Since:
- 8.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
validate
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
-