/**
  * @param array $data
  * @return ilAssQuestionSkillAssignment
  */
 private function buildSkillQuestionAssignmentByArray($data)
 {
     $assignment = new ilAssQuestionSkillAssignment($this->db);
     $assignment->setParentObjId($data['obj_fi']);
     $assignment->setQuestionId($data['question_fi']);
     $assignment->setSkillBaseId($data['skill_base_fi']);
     $assignment->setSkillTrefId($data['skill_tref_fi']);
     $assignment->setSkillPoints($data['skill_points']);
     $assignment->setEvalMode($data['eval_mode']);
     return $assignment;
 }
 /**
  * @return ilAssQuestionSkillAssignment
  */
 private function buildQuestionSkillAssignment($questionId, $skillBaseId, $skillTrefId)
 {
     require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionSkillAssignment.php';
     $assignment = new ilAssQuestionSkillAssignment($this->db);
     $assignment->setParentObjId($this->getQuestionContainerId());
     $assignment->setQuestionId($questionId);
     $assignment->setSkillBaseId($skillBaseId);
     $assignment->setSkillTrefId($skillTrefId);
     $assignment->loadFromDb();
     $assignment->loadAdditionalSkillData();
     return $assignment;
 }