Example #1
0
 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;
 }
Example #2
0
 /**
  * Init Select
  *
  * @return Mage_Reports_Model_Resource_Review_Customer_Collection
  */
 protected function _initSelect()
 {
     parent::_initSelect();
     $this->_joinCustomers();
     return $this;
 }
Example #3
0
 /**
  * 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;
 }