5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
30 public function __construct($a_parent_obj, $a_parent_cmd, $a_profile, $a_write_permission =
false)
34 $this->ctrl = $DIC->ctrl();
35 $this->lng = $DIC->language();
36 $this->access = $DIC->access();
38 $lng = $DIC->language();
39 $ilAccess = $DIC->access();
40 $lng = $DIC->language();
42 $this->profile = $a_profile;
43 parent::__construct($a_parent_obj, $a_parent_cmd);
44 $this->
setData($this->profile->getAssignedUsers());
48 $this->
addColumn($this->lng->txt(
"lastname"),
"lastname");
49 $this->
addColumn($this->lng->txt(
"firstname"),
"firstname");
50 $this->
addColumn($this->lng->txt(
"login"),
"login");
54 $this->
setRowTemplate(
"tpl.profile_user_row.html",
"Services/Skill");
56 if ($a_write_permission) {
69 $this->tpl->setVariable(
"LASTNAME", $a_set[
"lastname"]);
70 $this->tpl->setVariable(
"FIRSTNAME", $a_set[
"firstname"]);
71 $this->tpl->setVariable(
"LOGIN", $a_set[
"login"]);
72 $this->tpl->setVariable(
"ID", $a_set[
"id"]);
fillRow($a_set)
Fill table row.
TableGUI class for skill profile user assignment.
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.
__construct($a_parent_obj, $a_parent_cmd, $a_profile, $a_write_permission=false)
Constructor.
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.