コード例 #1
0
 protected function _afterSave()
 {
     parent::_afterSave();
     if (Kwc_Shop_Cart_Orders::getCartOrderId() == $this->id && $this->status != 'cart') {
         Kwc_Shop_Cart_Orders::resetCartOrderId();
     }
 }
コード例 #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');
     }
 }
コード例 #3
0
ファイル: Row.php プロジェクト: xiaoguizhidao/koala-framework
 protected function _afterSave()
 {
     parent::_afterSave();
     self::$saveCount += 1;
 }