3declare(strict_types=1);
39 $this->
setRowTemplate(
'tpl.calendar_shared_user_list_row.html',
'Services/Calendar');
42 $this->
addColumn($this->
lng->txt(
'name'),
'last_firstname',
'60%');
43 $this->
addColumn($this->
lng->txt(
'login'),
'login',
'40%');
46 $this->
addMultiCommand(
'shareAssignEditable', $this->
lng->txt(
'cal_share_cal_editable'));
53 $this->user_ids = $a_user_ids;
56 protected function fillRow(array $a_set): void
58 $this->tpl->setVariable(
'VAL_ID', $a_set[
'id']);
60 $this->tpl->setVariable(
'LASTNAME', $a_set[
'lastname']);
61 $this->tpl->setVariable(
'FIRSTNAME', $a_set[
'firstname']);
62 $this->tpl->setVariable(
'LOGIN', $a_set[
'login']);
68 foreach ($this->user_ids as
$id) {
72 $tmp_data[
'id'] =
$id;
73 $tmp_data[
'lastname'] =
$name[
'lastname'];
74 $tmp_data[
'firstname'] =
$name[
'firstname'];
76 $tmp_data[
'last_firstname'] = $tmp_data[
'lastname'] . $tmp_data[
'firstname'] . $tmp_data[
'login'];
setUsers(array $a_user_ids)
__construct(object $parent_obj, string $parent_cmd)
fillRow(array $a_set)
Standard Version of Fill Row.
static _lookupName(int $a_user_id)
lookup user name
static _lookupLogin(int $a_user_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addMultiCommand(string $a_cmd, string $a_text)
setPrefix(string $a_prefix)
set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort...
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setData(array $a_data)
Set table data.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc