34 $this->ctrl =
$DIC->ctrl();
35 $this->lng =
$DIC->language();
36 $this->access =
$DIC->access();
37 $this->
user = $DIC->user();
38 $ilCtrl =
$DIC->ctrl();
40 $ilAccess =
$DIC->access();
50 $this->
addColumn($this->lng->txt(
"title"),
"title");
51 $this->
addColumn($this->lng->txt(
"skmg_materials"));
52 $this->
addColumn($this->lng->txt(
"actions"));
55 $this->
setRowTemplate(
"tpl.personal_skill_row.html",
"Services/Skill");
69 $ilCtrl->setParameterByClass(
"ilpersonalskillsgui",
"skill_id", $a_set[
"skill_node_id"]);
70 $this->tpl->setCurrentBlock(
"cmd");
71 $this->tpl->setVariable(
"TXT_CMD",
$lng->txt(
"skmg_assign_materials"));
72 $this->tpl->setVariable(
74 $ilCtrl->getLinkTargetByClass(
"ilpersonalskillsgui",
"assignMaterials")
76 $this->tpl->parseCurrentBlock();
77 $ilCtrl->setParameterByClass(
"ilpersonalskillsgui",
"skill_id",
"");
80 $this->tpl->setVariable(
"SKL_NODE_ID", $a_set[
"skill_node_id"]);
81 $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
An exception for terminatinating execution or to throw for unit testing.
TableGUI class for personal skills.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
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.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
addMultiCommand($a_cmd, $a_text)
Add Command button.
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.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc