_init('rewardpoints/stats'); } protected function _initSelect() { parent::_initSelect(); $select = $this->getSelect(); $select->join( array('cust' => $this->getTable('rewardpoints/customer_entity')), 'customer_id = cust.entity_id' ); return $this; } }