24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
49 parent::__construct($parent_obj,$parent_cmd);
51 $this->
setRowTemplate(
'tpl.calendar_shared_user_list_row.html',
'Services/Calendar');
54 $this->
addColumn($this->lng->txt(
'name'),
'last_firstname',
'60%');
55 $this->
addColumn($this->lng->txt(
'login'),
'login',
'40%');
58 $this->
addMultiCommand(
'shareAssignEditable',$this->lng->txt(
'cal_share_cal_editable'));
72 $this->user_ids = $a_user_ids;
83 $this->tpl->setVariable(
'VAL_ID',$a_set[
'id']);
85 $this->tpl->setVariable(
'LASTNAME',$a_set[
'lastname']);
86 $this->tpl->setVariable(
'FIRSTNAME',$a_set[
'firstname']);
87 $this->tpl->setVariable(
'LOGIN',$a_set[
'login']);
101 foreach($this->user_ids as $id)
105 $tmp_data[
'id'] = $id;
106 $tmp_data[
'lastname'] = $name[
'lastname'];
107 $tmp_data[
'firstname'] = $name[
'firstname'];
109 $tmp_data[
'last_firstname'] = $tmp_data[
'lastname'].$tmp_data[
'firstname'].$tmp_data[
'login'];
111 $users[] = $tmp_data;
static _lookupLogin($a_user_id)
lookup login
static _lookupName($a_user_id)
lookup user name
setUsers($a_user_ids)
set users
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
Create styles array
The data for the language used.
__construct($parent_obj, $parent_cmd)
Constructor.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all 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.