public function andRespondentTracks($fields = '*', $groupBy = false) {
        $this->sql_select->join('gems__respondent2track',
                'gto_id_respondent_track = gr2t_id_respondent_track',
                $fields);

        if ($groupBy && is_array($fields)) {
            $this->sql_select->group($fields);
        }

        return $this;
    }
public function andRespondentTracks($fields = '*', $groupBy = false) {
        $this->sql_select->join('gems__respondent2track',
                'gto_id_respondent_track = gr2t_id_respondent_track',
                $fields);

        if ($groupBy && is_array($fields)) {
            $this->sql_select->group($fields);
        }

        return $this;
    }
public function andRespondentTracks ( $ fields = '*' , $ groupBy = false ) { $ this -> sql_select -> join ( 'gems__respondent2track' , 'gto_id_respondent_track = gr2t_id_respondent_track' , $ fields ) ; if ( $ groupBy && is_array ( $ fields ) ) { $ this -> sql_select -> group ( $ fields ) ; } return $ this ; }
Add Respondent Track info to the select statement

@param string|array $fields
@param boolean $groupBy Optional, add these fields to group by statement
@return \Gems_Tracker_Token_TokenSelect
Add Respondent Track info to the select statement