Community I was trying to do the correct usage of the code but i thing it doesn’t work or am I wrong. Its a bug?
if i remove the parent::afterSave then the code work.
public function afterSave()
{
if(parent::afterSave())
{
return ...;
}
}
tri
(tri - Tommy Riboe)
2
Signature is "protected void afterSave()"
protected function afterSave()
{
parent::afterSave();
}
/Tommy
This works to beforeSave, beforeValidate and afterValidate too?
protected function beforeSave(){
parent::beforeSave()
…
}
where can I find more about this???
Sorry… I got it now… I found on documentation. Sorry dudes!