/** * Adds events before and after importing. * * @return boolean */ public function _importData() { Mage::dispatchEvent($this->_eventPrefix . '_before_import', array('data_source_model' => $this->_dataSourceModel, 'entity_model' => $this)); $result = parent::_importData(); Mage::dispatchEvent($this->_eventPrefix . '_after_import', array('entities' => $this->_newCustomers, 'entity_model' => $this)); return $result; }