5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
39 $this->ctrl = $DIC->ctrl();
40 $this->lng = $DIC->language();
41 $this->access = $DIC->access();
42 $this->
user = $DIC->user();
44 $lng = $DIC->language();
45 $ilAccess = $DIC->access();
46 $lng = $DIC->language();
49 parent::__construct($a_parent_obj, $a_parent_cmd);
51 include_once(
"./Services/Skill/classes/class.ilPersonalSkill.php");
56 $this->
addColumn($this->lng->txt(
"title"),
"title");
57 $this->
addColumn($this->lng->txt(
"skmg_materials"));
58 $this->
addColumn($this->lng->txt(
"actions"));
61 $this->
setRowTemplate(
"tpl.personal_skill_row.html",
"Services/Skill");
75 $ilCtrl->setParameterByClass(
"ilpersonalskillsgui",
"skill_id", $a_set[
"skill_node_id"]);
76 $this->tpl->setCurrentBlock(
"cmd");
77 $this->tpl->setVariable(
"TXT_CMD",
$lng->txt(
"skmg_assign_materials"));
78 $this->tpl->setVariable(
80 $ilCtrl->getLinkTargetByClass(
"ilpersonalskillsgui",
"assignMaterials")
82 $this->tpl->parseCurrentBlock();
83 $ilCtrl->setParameterByClass(
"ilpersonalskillsgui",
"skill_id",
"");
86 $this->tpl->setVariable(
"SKL_NODE_ID", $a_set[
"skill_node_id"]);
87 $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
fillRow($a_set)
Fill table row.
static getSelectedUserSkills($a_user_id)
Get personal selected user skills.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
TableGUI class for personal skills.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.