5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
24 parent::__construct($a_parent_obj, $a_parent_cmd);
26 $this->
setTitle($lng->txt(
"skmg_skill_profiles"));
29 $this->
addColumn($this->lng->txt(
"title"),
"title");
30 $this->
addColumn($this->lng->txt(
"users"));
31 $this->
addColumn($this->lng->txt(
"actions"));
34 $this->
setRowTemplate(
"tpl.skill_profile_row.html",
"Services/Skill");
48 include_once(
"./Services/Skill/classes/class.ilSkillProfile.php");
60 $this->tpl->setCurrentBlock(
"cmd");
61 $this->tpl->setVariable(
"CMD", $lng->txt(
"edit"));
62 $ilCtrl->setParameter($this->parent_obj,
"sprof_id", $a_set[
"id"]);
63 $this->tpl->setVariable(
"CMD_HREF", $ilCtrl->getLinkTarget($this->parent_obj,
"showUsers"));
64 $ilCtrl->setParameter($this->parent_obj,
"sprof_id",
$_GET[
"sprof_id"]);
65 $this->tpl->parseCurrentBlock();
67 $this->tpl->setVariable(
"ID", $a_set[
"id"]);
68 $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
getProfiles()
Get profiles.
static getProfiles()
Get profiles.
TableGUI class for skill profiles.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
fillRow($a_set)
Fill table row.
static countUsers($a_profile_id)
Get assigned users.
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.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.