FOFModel::onBeforeSave
This method runs before the $data is saved to the $table. Return false to stop saving.
Signature
protected function onBeforeSave(&
$data,
&
$tableĀ )
Parameters
-
$data
-
$table
Returns
- boolean
- Return false to prevent saving, true to allow it