- Posts: 18
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
$oResponse = SurveyDynamic::model($testsurvey_id)->findByAttributes(array('token' => $token)); //output: SurveyDynamic Object ( [completed_filter] => [firstname_filter] => [lastname_filter] => [email_filter] => [lastpage] => 1 [bHaveToken:protected] => [_new:CActiveRecord:private] => [_attributes:CActiveRecord:private] => Array ( [id] => 1 [token] => 4XedA [submitdate] => 1980-01-01 00:00:00 [startlanguage] => en [seed] => 1898938554 [978369X26X271] => aaaaaaaaaaa ) //....array continues
$aPrintedAnswers = getFullResponseTable($testsurvey_id, $oResponse['id'], $lang); //output: //...array start... [token] => Array ( [0] => Token [1] => [2] => 4XedA ) [gid_25] => Array ( [0] => [1] => ) [978369X26X271] => Array ( [0] => [1] => ) )
Please Log in to join the conversation.
Please Log in to join the conversation.