public function forRespondent($respondentId, $organizationId = null) {
        if (null !== $respondentId) {
            $this->sql_select->where('gto_id_respondent = ?', $respondentId);
        }
        if (null !== $organizationId) {
            $this->sql_select->where('gto_id_organization = ?', $organizationId);
        }

        return $this;
    }
public function forRespondent($respondentId, $organizationId = null) {
        if (null !== $respondentId) {
            $this->sql_select->where('gto_id_respondent = ?', $respondentId);
        }
        if (null !== $organizationId) {
            $this->sql_select->where('gto_id_organization = ?', $organizationId);
        }

        return $this;
    }
public function forRespondent ( $ respondentId , $ organizationId = null ) { if ( null !== $ respondentId ) { $ this -> sql_select -> where ( 'gto_id_respondent = ?' , $ respondentId ) ; } if ( null !== $ organizationId ) { $ this -> sql_select -> where ( 'gto_id_organization = ?' , $ organizationId ) ; } return $ this ; }
Select only a specific respondent

@param string $respondentId
@param string $organizationId Optional
@return \Gems_Tracker_Token_TokenSelect
Select only a specific respondent