protected function _saveWithoutResetDirty() { $id = $this->{$this->_getPrimaryKey()}; $this->_getRow(); $ret = parent::_saveWithoutResetDirty(); if (!$id) { $this->_model->afterInsert($this); } else { $this->_model->afterUpdate($this); } $this->_model->clearCacheStore(); return $ret; }
protected function _saveWithoutResetDirty() { $this->_loadRow(); return parent::_saveWithoutResetDirty(); }