4require_once 
'Services/Table/classes/class.ilTable2GUI.php';
 
   30        $this->ctrl = 
$DIC[
'ilCtrl'];
 
   31        $this->lng  = 
$DIC[
'lng'];
 
   34        $this->
setId(
'mmsearch_' . $obj_id);
 
   35        parent::__construct($a_parent_obj, 
'showSelectableUsers');
 
   36        $this->lng->loadLanguageModule(
'crs');
 
   37        $this->lng->loadLanguageModule(
'grp');
 
   38        $this->
setTitle($this->lng->txt(
'members'));
 
   40        $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj));
 
   41        $this->ctrl->clearParameters($a_parent_obj);
 
   43        $this->
setRowTemplate(
'tpl.mail_member_search_row.html', 
'Services/Contact');
 
   47        $this->
addColumn($this->lng->txt(
'login'), 
'login', 
'22%');
 
   48        $this->
addColumn($this->lng->txt(
'name'), 
'name', 
'22%');
 
   49        $this->
addColumn($this->lng->txt(
'role'), 
'role', 
'22%');
 
   54        $this->
addMultiCommand(
'sendMailToSelectedUsers', $this->lng->txt(
'mail_members'));
 
   63        foreach ($a_set as 
$key => $value) {
 
   64            $this->tpl->setVariable(strtoupper(
$key), $value);
 
An exception for terminatinating execution or to throw for unit testing.
__construct($a_parent_obj)
static _lookupObjectId($a_ref_id)
lookup object id
setShowRowsSelector($a_value)
Toggle rows-per-page selector.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
addMultiCommand($a_cmd, $a_text)
Add Command button.
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.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.