The default implementation raises a beforeValidate event.
You may override this method to do preliminary checks before validation.
Make sure the parent implementation is invoked so that the event can be raised.
public beforeValidate ( ) : boolean | ||
return | boolean | whether the validation should be executed. Defaults to true. If false is returned, the validation will stop and the model is considered invalid. |