Ejemplo n.º 1
0
 protected function _afterSave()
 {
     parent::_afterSave();
     if (Kwc_Shop_Cart_Orders::getCartOrderId() == $this->id && $this->status != 'cart') {
         Kwc_Shop_Cart_Orders::resetCartOrderId();
     }
 }
Ejemplo n.º 2
0
 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');
     }
 }
Ejemplo n.º 3
0
 protected function _afterSave()
 {
     parent::_afterSave();
     self::$saveCount += 1;
 }