public function getSourceSurveyId($surveyId) {
        $tracker = $this->loader->getTracker();
        $survey  = $tracker->getSurvey($surveyId);

        return $survey->getSourceSurveyId();
    }
public function getSourceSurveyId($surveyId) {
        $tracker = $this->loader->getTracker();
        $survey  = $tracker->getSurvey($surveyId);

        return $survey->getSourceSurveyId();
    }
public function getSourceSurveyId ( $ surveyId ) { $ tracker = $ this -> loader -> getTracker ( ) ; $ survey = $ tracker -> getSurvey ( $ surveyId ) ; return $ survey -> getSourceSurveyId ( ) ; }
Get the survey ID in the survey source

@param $surveyId int Gems survey ID
@return int source survey ID
Get the survey ID in the survey source