protected function _afterSave() { parent::_afterSave(); foreach ($this->getProductIds() as $productId) { Mage::app()->cleanCache(Mage_Catalog_Model_Product::CACHE_TAG . '_' . $productId); } }
/** * Processing object after save data * * @return Mage_Core_Model_Abstract */ protected function _afterSave() { $ret = parent::_afterSave(); Mage::dispatchEvent('searchanise_tag_relation_save_after', array('object' => $this)); return $ret; }