Пример #1
0
 protected function _afterDelete()
 {
     parent::_afterDelete();
     $this->getResource()->deleteChildren($this);
     return $this;
 }
Пример #2
0
 protected function _afterDelete()
 {
     parent::_afterDelete();
     Mage::getSingleton('index/indexer')->indexEvents(self::ENTITY, Mage_Index_Model_Event::TYPE_DELETE);
 }