4 require_once
'Services/Table/classes/class.ilTable2GUI.php';
28 public function __construct($a_parent_obj, $a_parent_cmd =
'', $a_template_context =
'')
32 $this->lng = $DIC[
'lng'];
33 $this->ctrl = $DIC[
'ilCtrl'];
35 $this->
setId(
'show_mlng_lists_tbl');
36 parent::__construct($a_parent_obj, $a_parent_cmd, $a_template_context);
38 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj),
'showForm');
39 $this->
setTitle($this->lng->txt(
'mail_mailing_lists'));
40 $this->
setRowTemplate(
'tpl.mail_mailing_lists_listrow.html',
'Services/Contact');
50 $this->
addColumn(
'',
'check',
'10%',
true);
51 $this->
addColumn($this->lng->txt(
'title'),
'title',
'30%');
52 $this->
addColumn($this->lng->txt(
'description'),
'description',
'30%');
53 $this->
addColumn($this->lng->txt(
'members'),
'members',
'20%');
54 $this->
addColumn($this->lng->txt(
'actions'),
'',
'10%');
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
__construct($a_parent_obj, $a_parent_cmd='', $a_template_context='')
setNoEntriesText($a_text)
Set text for an empty table.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setSelectAllCheckbox($a_select_all_checkbox, $a_select_all_on_top=false)
Set the name of the checkbox that should be toggled with a select all button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
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.