5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
21 function __construct($a_parent_obj, $a_parent_cmd, $a_top_skill_id, $a_tref_id,
26 $this->top_skill_id = $a_top_skill_id;
27 $this->tref_id = (int) $a_tref_id;
28 $this->basic_skill_id = $a_basic_skill_id;
31 $this->top_skill_id, $this->tref_id, $this->basic_skill_id);
34 include_once(
"./Services/Skill/classes/class.ilSkillTree.php");
36 $path = $stree->getPathFull($this->basic_skill_id);
40 if ($p[
"type"] !=
"skrt")
47 parent::__construct($a_parent_obj, $a_parent_cmd);
53 $this->
addColumn($this->lng->txt(
"skmg_skill_level"));
54 $this->
addColumn($this->lng->txt(
"description"));
57 $this->
setRowTemplate(
"tpl.simple_self_eval.html",
"Services/Skill");
76 include_once(
"./Services/Skill/classes/class.ilSkillTreeNodeFactory.php");
78 $levels[] =
array(
"id" => 0,
"description" => $lng->txt(
"skmg_no_skills"));
79 foreach ($this->skill->getLevelData() as $k => $v)
94 include_once(
"./Services/Skill/classes/class.ilPersonalSkill.php");
96 if ($this->cur_level_id == $a_set[
"id"])
98 $this->tpl->setVariable(
"CHECKED",
"checked='checked'");
101 $this->tpl->setVariable(
"LEVEL_ID", $a_set[
"id"]);
102 $this->tpl->setVariable(
"SKILL_ID", $this->basic_skill_id);
103 $this->tpl->setVariable(
"TXT_SKILL", $a_set[
"title"]);
104 $this->tpl->setVariable(
"TXT_SKILL_DESC", $a_set[
"description"]);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
__construct($a_parent_obj, $a_parent_cmd, $a_top_skill_id, $a_tref_id, $a_basic_skill_id)
Constructor.
fillRow($a_set)
Fill table row.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
static getInstance($a_id=0)
Self evaluation, second simplier implementation.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
Create styles array
The data for the language used.
static getSelfEvaluation($a_user_id, $a_top_skill, $a_tref_id, $a_basic_skill)
Get self evaluation.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
disable($a_module_name)
diesables particular modules of table
setEnableHeader($a_enableheader)
Set Enable Header.
setEnableTitle($a_enabletitle)
Set Enable Title.
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.
setLimit($a_limit=0, $a_default_limit=0)