beforeValidate() public method
This method is invoked before validation starts.
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 boolean beforeValidate ( ) | ||
---|---|---|
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. |
Please login to continue.