protected function getSurveyId($roundId)
    {
       $this->_ensureRounds();
       if (isset($this->_rounds[$roundId]['gro_id_survey'])) {
           return $this->_rounds[$roundId]['gro_id_survey'];
       }

       throw new \Gems_Exception_Coding("Requested non existing survey id for round $roundId.");
    }
protected function getSurveyId($roundId)
    {
       $this->_ensureRounds();
       if (isset($this->_rounds[$roundId]['gro_id_survey'])) {
           return $this->_rounds[$roundId]['gro_id_survey'];
       }

       throw new \Gems_Exception_Coding("Requested non existing survey id for round $roundId.");
    }
protected function getSurveyId ( $ roundId ) { $ this -> _ensureRounds ( ) ; if ( isset ( $ this -> _rounds [ $ roundId ] [ 'gro_id_survey' ] ) ) { return $ this -> _rounds [ $ roundId ] [ 'gro_id_survey' ] ; } throw new \ Gems_Exception_Coding ( "Requested non existing survey id for round $roundId." ) ; }
Look up the survey id associated with a round

@param int $roundId  Gems round id
@return int Gems survey id
Look up the survey id associated with a round