loadSurveyById(int $id, $lang = null) : \SurveyObj
In the future it would be nice to load all languages from the db at once and have the infrastructure be able to return responses based on language codes.
loadSurveyResults(\Survey $survey, int $iMinimum, int $iMaximum, string $sFilter = '', string $completionState = 'all', string $aFields = array(), $aResponsesId = array())
If none are then all responses are loaded.
An optional filter for the results, i string or arry of string
all, complete or incomplete
If empty all, otherwise only select the selected fields from the survey response table