5include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   24                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   26                include_once(
"./Services/Skill/classes/class.ilPersonalSkill.php");
 
   28                $this->
setTitle($lng->txt(
"skills"));
 
   31                $this->
addColumn($this->lng->txt(
"title"), 
"title");
 
   32                $this->
addColumn($this->lng->txt(
"skmg_materials"));
 
   33                $this->
addColumn($this->lng->txt(
"actions"));
 
   36                $this->
setRowTemplate(
"tpl.personal_skill_row.html", 
"Services/Skill");
 
   38                $this->
addMultiCommand(
"confirmSkillRemove", $lng->txt(
"skmg_remove_skills"));
 
   49                $ilCtrl->setParameterByClass(
"ilpersonalskillsgui", 
"skill_id", $a_set[
"skill_node_id"]);
 
   50                $this->tpl->setCurrentBlock(
"cmd");
 
   51                $this->tpl->setVariable(
"TXT_CMD", 
$lng->txt(
"skmg_assign_materials"));
 
   52                $this->tpl->setVariable(
"HREF_CMD",
 
   53                        $ilCtrl->getLinkTargetByClass(
"ilpersonalskillsgui", 
"assignMaterials"));
 
   54                $this->tpl->parseCurrentBlock();
 
   55                $ilCtrl->setParameterByClass(
"ilpersonalskillsgui", 
"skill_id", 
"");
 
   58                $this->tpl->setVariable(
"SKL_NODE_ID", $a_set[
"skill_node_id"]);
 
   59                $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
 
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.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="")
Add a column to the header.
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.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.