protected function _initSelect() { parent::_initSelect(); $this->getSelect()->join(array('rev_details' => $this->_reviewDetailTable), 'main_table.review_id = rev_details.review_id', array('review_reply')); return $this; }
/** * Init Select * * @return Mage_Reports_Model_Resource_Review_Customer_Collection */ protected function _initSelect() { parent::_initSelect(); $this->_joinCustomers(); return $this; }
/** * init select * * @return Mage_Review_Model_Resource_Review_Product_Collection */ protected function _initSelect() { parent::_initSelect(); $this->getSelect()->join(array('detailc' => $this->_reviewDetailTable), 'main_table.review_id = detailc.review_id', array('detail_id', 'title', 'detail', 'nickname', 'customer_id', 'reviewimage')); return $this; }