I’m confused
protected function beforeSave()
{
$this->update = ..
$this->create = ..
return parent::beforeSave();
}
or
protected function beforeSave()
{
if (!parent::beforeSave())
return false;
$this->update = ..
$this->create = ..
return true;
}
the same goes to afterFind, init, beforeValidate, etc etc…
please help, thank you