Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 protected function _saveWithoutResetDirty()
 {
     $this->_loadRow();
     return parent::_saveWithoutResetDirty();
 }