package | Default |
---|
loadSurveyById(integer $id, $lang = null,\FormattingOptions $oOptions = 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.
integer
\FormattingOptions
\SurveyObj
loadSurveyResults(\SurveyObj $survey,integer $iMinimum,integer $iMaximum,string $sFilter = '',string $completionState = 'all',array $aFields = array(),string $sResponsesId = null): \CDbCommand
If none are then all responses are loaded.
\SurveyObj
integer
integer
string
An optional filter for the results, i string or arry of string
string
all, complete or incomplete
array
If empty all, otherwise only select the selected fields from the survey response table
string
\CDbCommand