116 $this->originalFilterTaxNodeId = $originalFilterNodeId;
175 case 'def_id': $this->
setId($value);
break;
176 case 'pool_fi': $this->
setPoolId($value);
break;
178 case 'pool_path': $this->
setPoolPath($value);
break;
196 $res = $this->db->queryF(
197 "SELECT * FROM tst_rnd_quest_set_qpls WHERE def_id = %s",
array(
'integer'),
array(
$id)
200 while(
$row = $this->db->fetchAssoc(
$res) )
229 $this->db->manipulateF(
230 "DELETE FROM tst_rnd_quest_set_qpls WHERE def_id = %s",
array(
'integer'),
array($this->
getId())
239 $this->db->update(
'tst_rnd_quest_set_qpls',
241 'test_fi' =>
array(
'integer', $testId),
264 $nextId = $this->db->nextId(
'tst_rnd_quest_set_qpls');
266 $this->db->insert(
'tst_rnd_quest_set_qpls',
array(
267 'def_id' =>
array(
'integer', $nextId),
268 'test_fi' =>
array(
'integer', $testId),
281 $this->
setId($nextId);
288 $poolInfoLabel = sprintf(
289 $lng->
txt(
'tst_dynamic_question_set_source_questionpool_summary_string'),
295 return $poolInfoLabel;
initFromArray($dataArray)
getOriginalFilterTaxNodeId()
getPoolInfoLabel(ilLanguage $lng)
setOriginalFilterTaxNodeId($originalFilterNodeId)
getMappedFilterTaxNodeId()
setQuestionAmount($questionAmount)
__construct(ilDBInterface $db, ilObjTest $testOBJ)
setOriginalFilterTaxId($originalFilterTaxId)
setPoolQuestionCount($poolQuestionCount)
cloneToDbForTestId($testId)
Create styles array
The data for the language used.
setMappedFilterTaxId($mappedFilterTaxId)
setSequencePosition($sequencePosition)
setMappedFilterTaxNodeId($mappedFilterTaxNodeId)
txt($a_topic, $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...