protected function _afterSave() { parent::_afterSave(); if (Kwc_Shop_Cart_Orders::getCartOrderId() == $this->id && $this->status != 'cart') { Kwc_Shop_Cart_Orders::resetCartOrderId(); } }
protected function _afterSave() { parent::_afterSave(); if ($this->isDirty('login_kwf_upload_id')) { Kwf_Media::clearCache('Kwf_Util_Model_Welcome', $this->id, 'LoginImage'); Kwf_Media::clearCache('Kwf_Util_Model_Welcome', $this->id, 'LoginImageLarge'); } if ($this->isDirty('kwf_upload_id')) { Kwf_Media::clearCache('Kwf_Util_Model_Welcome', $this->id, 'WelcomeImage'); } }
protected function _afterSave() { parent::_afterSave(); self::$saveCount += 1; }