/** * Get website collection with stores and store-views joined * * @return Mage_Core_Model_Resource_Website_Collection */ public function getCollection() { return $this->_websiteCollection->joinGroupAndStore(); }
/** * Join website and store names * * @return Mage_Core_Model_Resource_Db_Collection_Abstract|Mage_Core_Model_Resource_Website_Grid_Collection */ protected function _initSelect() { parent::_initSelect(); $this->joinGroupAndStore(); return $this; }