/** * Saving product type related data and init index * * @return EM_Blog_Model_Post */ protected function _afterSave() { $this->getLinkInstance()->saveProductRelations($this); $result = parent::_afterSave(); Mage::getSingleton('index/indexer')->processEntityAction($this, self::ENTITY, Mage_Index_Model_Event::TYPE_SAVE); return $result; }
/** * Init indexing process after category save * * @return Mage_Catalog_Model_Category */ protected function _afterSave() { $result = parent::_afterSave(); Mage::getSingleton('index/indexer')->processEntityAction($this, self::ENTITY, Mage_Index_Model_Event::TYPE_SAVE); return $result; }