4 require_once
'Services/Table/classes/class.ilTable2GUI.php';
20 $this->
setId(
'mmsearch_'.$obj_id);
21 parent::__construct($a_parent_obj,
'showSelectableUsers');
22 $lng->loadLanguageModule(
'crs');
23 $lng->loadLanguageModule(
'grp');
24 $this->
setTitle($lng->txt(
'members'));
27 $ilCtrl->clearParameters($a_parent_obj);
29 $this->
setRowTemplate(
'tpl.mail_member_search_row.html',
'Services/Contact');
33 $this->
addColumn($lng->txt(
'login'),
'login',
'22%');
34 $this->
addColumn($lng->txt(
'name'),
'name',
'22%');
35 $this->
addColumn($lng->txt(
'role'),
'role',
'22%');
40 $this->
addMultiCommand(
'sendMailToSelectedUsers', $lng->txt(
'mail_members'));
49 foreach($a_set as $key => $value)
51 $this->tpl->setVariable(strtoupper($key), $value);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
static _lookupObjectId($a_ref_id)
lookup object id
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)
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setShowRowsSelector($a_value)
Toggle rows-per-page selector.
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.