116 $this->originalFilterTaxNodeId = $originalFilterNodeId;
171 foreach($dataArray as $field => $value)
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),
242 'pool_fi' => array(
'integer', $this->
getPoolId()),
244 'pool_path' => array(
'text', $this->
getPoolPath()),
254 'def_id' => array(
'integer', $this->
getId())
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),
269 'pool_fi' => array(
'integer', $this->
getPoolId()),
271 'pool_path' => array(
'text', $this->
getPoolPath()),
281 $this->
setId($nextId);
288 $poolInfoLabel = sprintf(
289 $lng->
txt(
'tst_dynamic_question_set_source_questionpool_summary_string'),
295 return $poolInfoLabel;