public function getReplicationSources() { $result = new Varien_Object(array('sources' => $this->_getReplicationSources())); $targetName = $this->getEntityName(); Mage::dispatchEvent('m_db_sources', compact('targetName', 'result')); return $result->getSources(); }