/** * Standard resource collection initalization * * @param string $model * @return Mage_Core_Model_Mysql4_Collection_Abstract */ protected function _init($model, $resourceModel = null) { parent::_init($model, $resourceModel); $this->_relationTable = $this->getMainTable() . '_relation'; $this->_localeTable = $this->getMainTable() . '_locale'; return $this; }