コード例 #1
0
 /**
  * Initialize collection select
  *
  * @return Mage_Tag_Model_Mysql4_Product_Collection
  */
 protected function _initSelect()
 {
     parent::_initSelect();
     $this->_joinFields();
     $this->getSelect()->group('e.entity_id');
     return $this;
 }
コード例 #2
0
 protected function _initSelect()
 {
     parent::_initSelect();
     $this->_joinFields();
     return $this;
 }
コード例 #3
0
ファイル: Collection.php プロジェクト: jpbender/mage_virtual
 /**
  * Initialize collection select
  */
 protected function _initSelect()
 {
     parent::_initSelect();
     $this->getSelect()->join(array('selection' => $this->_selectionTable), '`selection`.`product_id`=`e`.`entity_id`', array('*'));
 }
 protected function _initSelect()
 {
     parent::_initSelect();
     $this->getSelect()->join(array('link_table' => $this->_linkTable), 'link_table.product_id=e.entity_id', array('parent_id'));
 }