38         $this->skill_question_assignment_list = $assignmentList;
    48         $this->manipulations_enabled = $manipulationsEnabled;
    60         $local_dic = QuestionPoolDIC::dic();
    61         $this->request_data_collector = $local_dic[
'request_data_collector'];
    63         $this->
setId(
'assQstSkl');
    68         $this->
setStyle(
'table', 
'fullwidth');
    70         $this->
setRowTemplate(
'tpl.tst_skl_qst_assignment_row.html', 
'components/ILIAS/Test');
    77     public function init(): void
    84         $this->load_skill_points_from_request = $loadSkillPointsFromRequest;
    89         $this->
addColumn($this->
lng->txt(
'tst_question'), 
'question', 
'25%');
    90         $this->
addColumn($this->
lng->txt(
'tst_competence'), 
'competence', 
'');
    91         $this->
addColumn($this->
lng->txt(
'tst_comp_eval_mode'), 
'eval_mode', 
'13%');
    92         $this->
addColumn($this->
lng->txt(
'tst_comp_points'), 
'points', 
'12%');
    93         $this->
addColumn($this->
lng->txt(
'actions'), 
'actions', 
'20%');
    96     public function fillRow(array $a_set): void
    98         $assignments = $this->skill_question_assignment_list->getAssignmentsByQuestionId($a_set[
'question_id']);
   100         $this->
ctrl->setParameter($this->parent_obj, 
'q_id', $a_set[
'question_id']);
   102         $this->tpl->setCurrentBlock(
'question_title');
   103         $this->tpl->setVariable(
'ROWSPAN', $this->
getRowspan($assignments));
   104         $this->tpl->setVariable(
'QUESTION_TITLE', $a_set[
'title']);
   105         $this->tpl->setVariable(
'QUESTION_DESCRIPTION', $a_set[
'description']);
   106         $this->tpl->parseCurrentBlock();
   108         $this->tpl->setCurrentBlock(
'tbl_content');
   110         $num_assigns = count($assignments);
   112         foreach ($assignments as $key => $assignment) {
   113             $this->tpl->setCurrentBlock(
'actions_col');
   115             $this->tpl->parseCurrentBlock();
   117             $this->tpl->setCurrentBlock(
'tbl_content');
   119             $this->tpl->setVariable(
'COMPETENCE', $assignment->getSkillTitle());
   120             $this->tpl->setVariable(
'COMPETENCE_PATH', $assignment->getSkillPath());
   122             $this->tpl->setVariable(
'SKILL_POINTS', $assignment->getMaxSkillPoints());
   125                 $this->tpl->parseCurrentBlock();
   127                 $this->tpl->setCurrentBlock(
'tbl_content');
   128                 $this->tpl->setVariable(
'CSS_ROW', $this->css_row);
   133             $this->tpl->setCurrentBlock(
'actions_col');
   135             $this->tpl->parseCurrentBlock();
   137             $this->tpl->setCurrentBlock(
'tbl_content');
   142             $this->tpl->setCurrentBlock(
'actions_col');
   143             $this->tpl->setVariable(
'ACTION', 
' ');
   144             $this->tpl->parseCurrentBlock();
   146             $this->tpl->setCurrentBlock(
'tbl_content');
   152         $cnt = count($assignments);
   163         $href = $this->
ctrl->getLinkTarget(
   168         return $this->
buildActionLink($href, $this->
lng->txt(
'tst_manage_competence_assigns'));
   173         $this->
ctrl->setParameter($this->parent_obj, 
'skill_base_id', $assignment->
getSkillBaseId());
   174         $this->
ctrl->setParameter($this->parent_obj, 
'skill_tref_id', $assignment->
getSkillTrefId());
   176         $href = $this->
ctrl->getLinkTarget(
   181         $this->
ctrl->setParameter($this->parent_obj, 
'skill_base_id', null);
   182         $this->
ctrl->setParameter($this->parent_obj, 
'skill_tref_id', null);
   185             $this->areManipulationsEnabled()
   186                 ? 
'tst_edit_competence_assign'   187                 : 
'tst_view_competence_assign'   193         return "<a href=\"{$href}\" title=\"{$label}\">{$label}</a>";
   198         return $this->
lng->txt(
   200                 ? 
'qpl_skill_point_eval_mode_solution_compare'   201                 : 
'qpl_skill_point_eval_mode_quest_result' bool $manipulations_enabled
 
const CMD_SHOW_SKILL_SELECT
 
enable(string $a_module_name)
 
RequestDataCollector $request_data_collector
 
ilAssQuestionSkillAssignmentList $skill_question_assignment_list
 
areManipulationsEnabled()
 
buildActionLink(string $href, string $label)
 
setStyle(string $a_element, string $a_style)
 
loadSkillPointsFromRequest(bool $loadSkillPointsFromRequest)
 
setSkillQuestionAssignmentList(ilAssQuestionSkillAssignmentList $assignmentList)
 
bool $load_skill_points_from_request
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
getEvalModeLabel(ilAssQuestionSkillAssignment $assignment)
 
setManipulationsEnabled(bool $manipulationsEnabled)
 
getCompetenceAssignPropertiesFormLink(ilAssQuestionSkillAssignment $assignment)
 
getRowspan(array $assignments)
 
__construct(Container $dic, ilPlugin $plugin)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
__construct( $parent_obj, $parent_cmd, ilCtrl $ctrl, ilLanguage $lng)
 
disable(string $a_module_name)
 
getManageCompetenceAssignsActionLink()
 
const CMD_SHOW_SKILL_QUEST_ASSIGN_PROPERTIES_FORM
 
setPrefix(string $a_prefix)