Example #1
0
 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;
 }
Example #2
0
 protected function _saveWithoutResetDirty()
 {
     $this->_loadRow();
     return parent::_saveWithoutResetDirty();
 }