afterSave() protected method

Saves related objects now that we have a pk for the instance.
protected afterSave ( )
 protected function afterSave()
 {
     return parent::afterSave();
 }
示例#2
0
 protected function afterSave()
 {
     $this->_idInstance = -1;
     // сбрасываем внутренний ид, чтоб не закэшировалось
     parent::afterSave();
 }