model.beforeValidate

Called before the model is validated

Example usage:

$model->bindEvent('model.beforeValidate', function () use (\Winter\Storm\Database\Model $model) { // Prevent anything from validating ever! return false; });

Usage

Triggers

Copyright © 2024 Winter CMS