当前位置: 首页>>代码示例>>PHP>>正文


PHP Mage_Core_Model_Abstract::_afterDeleteCommit方法代码示例

本文整理汇总了PHP中Mage_Core_Model_Abstract::_afterDeleteCommit方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Core_Model_Abstract::_afterDeleteCommit方法的具体用法?PHP Mage_Core_Model_Abstract::_afterDeleteCommit怎么用?PHP Mage_Core_Model_Abstract::_afterDeleteCommit使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Mage_Core_Model_Abstract的用法示例。


在下文中一共展示了Mage_Core_Model_Abstract::_afterDeleteCommit方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: _afterDeleteCommit

 protected function _afterDeleteCommit()
 {
     parent::_afterDeleteCommit();
     if (!$this->getdata('_m_prevent_replication')) {
         Mage::helper('mana_db')->replicate(array('trackKeys' => true, 'filter' => array($this->getResourceName() => array('deleted' => array($this->getId())))));
     }
 }
开发者ID:xiaoguizhidao,项目名称:cupboardglasspipes.ecomitize.com,代码行数:7,代码来源:Object.php

示例2: _afterDeleteCommit

 protected function _afterDeleteCommit()
 {
     Mage::getModel('amorderattach/order_field')->deleteField($this->getCode());
     parent::_afterDeleteCommit();
     Mage::helper('amorderattach')->clearCache();
     return $this;
 }
开发者ID:CE-Webmaster,项目名称:CE-Hub,代码行数:7,代码来源:Field.php

示例3: _afterDeleteCommit

 protected function _afterDeleteCommit()
 {
     parent::_afterDeleteCommit();
     if ($this->_commonHelper()->isSearchCoreEnabled()) {
         $this->_afterDeleteCommitIndexProcess();
     }
 }
开发者ID:protechhelp,项目名称:gamamba,代码行数:7,代码来源:Abstract.php

示例4: _afterDeleteCommit

 /**
  * Init indexing process after store delete commit
  *
  * @return Mage_Core_Model_Store
  */
 protected function _afterDeleteCommit()
 {
     parent::_afterDeleteCommit();
     Mage::getSingleton('index/indexer')->indexEvents(self::ENTITY, Mage_Index_Model_Event::TYPE_DELETE);
     return $this;
 }
开发者ID:Airmal,项目名称:Magento-Em,代码行数:11,代码来源:Store.php

示例5: _afterDeleteCommit

 /**
  * Delete 'persistent' cookie
  *
  * @return Mage_Core_Model_Abstract
  */
 protected function _afterDeleteCommit()
 {
     Mage::getSingleton('Mage_Core_Model_Cookie')->delete(Mage_Persistent_Model_Session::COOKIE_NAME);
     return parent::_afterDeleteCommit();
 }
开发者ID:nemphys,项目名称:magento2,代码行数:10,代码来源:Session.php

示例6: _afterDeleteCommit

 /**
  * Perform actions after object delete
  *
  * @return Mage_Core_Model_Abstract
  */
 protected function _afterDeleteCommit()
 {
     $this->getResource()->afterDeleteCommit($this);
     return parent::_afterDeleteCommit();
 }
开发者ID:ravi2jdesign,项目名称:solvingmagento_1.7.0,代码行数:10,代码来源:Review.php

示例7: _afterDeleteCommit

 protected function _afterDeleteCommit()
 {
     parent::_afterDeleteCommit();
     $resource = Mage::getSingleton('core/resource');
     $writeConnection = $resource->getConnection('core_write');
     $tableName = $resource->getTableName('helpdesk/ticket');
     $query = "ALTER TABLE `{$tableName}` DROP `{$this->getDbCode()}`";
     $writeConnection->query($query);
     $writeConnection->resetDdlCache();
 }
开发者ID:cesarfelip3,项目名称:clevermage_new,代码行数:10,代码来源:Mirasvit_Helpdesk_Model_Field.php


注:本文中的Mage_Core_Model_Abstract::_afterDeleteCommit方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。