ILIAS  release_8 Revision v8.25-1-g13de6a5eca6
class.ilMailingListsTableGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
27 public function __construct(ilMailingListsGUI $a_parent_obj, string $a_parent_cmd)
28 {
29 global $DIC;
30
31 $this->setId('show_mlng_lists_tbl');
32 parent::__construct($a_parent_obj, $a_parent_cmd);
33
34 $this->setFormAction($this->ctrl->getFormAction($a_parent_obj, 'showForm'));
35 $this->setTitle($this->lng->txt('mail_mailing_lists'));
36 $this->setRowTemplate('tpl.mail_mailing_lists_listrow.html', 'Services/Contact');
37 $this->setDefaultOrderField('title');
38 $this->setSelectAllCheckbox('ml_id');
39 $this->setNoEntriesText($this->lng->txt('mail_search_no'));
40
41 $this->initColumns();
42 }
43
44 protected function initColumns(): void
45 {
46 $this->addColumn('', 'check', '1px', true);
47 $this->addColumn($this->lng->txt('title'), 'title', '30%');
48 $this->addColumn($this->lng->txt('description'), 'description', '40%');
49 $this->addColumn($this->lng->txt('members'), 'members', '20%');
50 $this->addColumn($this->lng->txt('actions'), '', '10%');
51 }
52}
__construct(ilMailingListsGUI $a_parent_obj, string $a_parent_cmd)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
setFormAction(string $a_form_action, bool $a_multipart=false)
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)
setDefaultOrderField(string $a_defaultorderfield)
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
setNoEntriesText(string $a_text)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setId(string $a_val)
global $DIC
Definition: feed.php:28
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc