3 declare(strict_types=1);
44 $this->
ctrl = $DIC->ctrl();
45 $this->
lng = $DIC->language();
46 $this->tpl = $DIC[
"tpl"];
48 $this->cont_skill_manager = $DIC->skills()->internalContainer()->manager()->getSkillManager(
55 $this->
setTitle($this->
lng->txt(
"cont_cont_skills"));
58 $this->
addColumn($this->
lng->txt(
"cont_skill"),
"",
"1");
60 $this->
addColumn($this->
lng->txt(
"cont_skill_profile"),
"",
"1");
63 $this->
setRowTemplate(
"tpl.cont_skill_row.html",
"Services/Container/Skills");
72 $skills = $this->cont_skill_manager->getSkillsForTableGUI();
77 protected function fillRow(array $a_set): void
81 $tpl->setVariable(
"TITLE", $a_set[
"title"]);
86 if (isset($a_set[
"profile_title"])) {
87 $tpl->setVariable(
"PROFILE", $a_set[
"profile_title"]);
89 $tpl->setCurrentBlock(
"checkbox");
90 $tpl->setVariable(
"ID", $a_set[
"base_skill_id"] .
":" . $a_set[
"tref_id"]);
91 $tpl->parseCurrentBlock();
setFormAction(string $a_form_action, bool $a_multipart=false)
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
TableGUI class for competences in containers.
__construct( $a_parent_obj, string $a_parent_cmd, ilContainer $cont_obj)
ContainerSkillManager $cont_skill_manager
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
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)
addMultiCommand(string $a_cmd, string $a_text)