- Posts: 57
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
QuestionAttribute::model()->setQuestionAttribute($qid, 'myarray', $myArray); log_var($myArray);
$aAttributes=QuestionAttribute::model()->getQuestionAttributes($qid); $output = $aAttributes['myarray']; log_var($output);
$qid = $this->api->getRequest()->getParam('qid');
$oAttributeExtraSurvey=QuestionAttribute::model()->find('attribute=:attribute AND qid=:qid', array( ':attribute' => 'extraSurvey', ':qid' => $qid, ));