24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
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%');
57 $this->
addMultiCommand(
'shareAssign', $this->lng->txt(
'cal_share_cal'));
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']);
100 foreach ($this->user_ids as
$id) {
103 $tmp_data[
'id'] =
$id;
104 $tmp_data[
'lastname'] =
$name[
'lastname'];
105 $tmp_data[
'firstname'] =
$name[
'firstname'];
107 $tmp_data[
'last_firstname'] = $tmp_data[
'lastname'] . $tmp_data[
'firstname'] . $tmp_data[
'login'];
static _lookupLogin($a_user_id)
lookup login
static _lookupName($a_user_id)
lookup user name
setUsers($a_user_ids)
set users
if(!array_key_exists('StateId', $_REQUEST)) $id
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.
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.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.