$result=$ilDB->queryF("SELECT DISTINCT(qpl_questions.title) FROM rep_robj_xqsp_qs_qst, qpl_questions WHERE rep_robj_xqsp_qs_qst.questionset_fi = %s AND rep_robj_xqsp_qs_qst.question_fi = qpl_questions.question_id ORDER BY rep_robj_xqsp_qs_qst.question_index",
array('integer'),
array($this->set->getId())
);
while($row=$ilDB->fetchAssoc($result))
{
$titles[]=$row['title'];
}
return$titles;
}
/**
* @param array $question_ids
* @param ilQuestionSetPoolSet $old_set
* @param integer $container_obj_id Container id (e.g. question set pool obj_id or forma test obj_id)
"SELECT DISTINCT(qpl_questions.title) FROM rep_robj_xqsp_qs_qst, qpl_questions WHERE rep_robj_xqsp_qs_qst.questionset_fi = %s AND rep_robj_xqsp_qs_qst.question_fi = qpl_questions.question_id ORDER BY rep_robj_xqsp_qs_qst.question_index",
array('integer'),
array($this->set->getId())
);
while($row=$ilDB->fetchAssoc($result)){
$titles[]=$row['title'];
}
return$titles;
}
/**
* @param array $question_ids
* @param ilQuestionSetPoolSet $old_set
* @param integer $container_obj_id Container id (e.g. question set pool obj_id or forma test obj_id)