public function getSurveyId()
    {
        $sid = $this->_getParam(\Gems_Model::SURVEY_ID);
        if ($sid) {
            return $sid;
        }
        if ($this->getTokenId()) {
            return $this->getToken()->getSurveyId();
        }
    }
public function getSurveyId()
    {
        $sid = $this->_getParam(\Gems_Model::SURVEY_ID);
        if ($sid) {
            return $sid;
        }
        if ($this->getTokenId()) {
            return $this->getToken()->getSurveyId();
        }
    }
public function getSurveyId ( ) { $ sid = $ this -> _getParam ( \ Gems_Model :: SURVEY_ID ) ; if ( $ sid ) { return $ sid ; } if ( $ this -> getTokenId ( ) ) { return $ this -> getToken ( ) -> getSurveyId ( ) ; } }
Retrieve the survey ID

@return int
Retrieve the survey ID