ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilForumNotificationParentMembersTableGUI.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
21{
22 public function __construct(ilForumSettingsGUI $cmd_class_instance, string $cmd, ilObjForum $forum, string $type)
23 {
24 $this->setId('frm_noti_mem_' . $type . '_' . $forum->getRefId());
25 parent::__construct($cmd_class_instance, $cmd);
26
27 $this->setFormAction($this->ctrl->getFormAction($cmd_class_instance, $cmd));
28 $this->setTitle($this->lng->txt(strtolower($type)));
29
30 $this->addColumn('', '', '1%', true);
31 $this->addColumn($this->lng->txt('login'), '', '10%');
32 $this->addColumn($this->lng->txt('firstname'), '', '10%');
33 $this->addColumn($this->lng->txt('lastname'), '', '10%');
34 $this->addColumn($this->lng->txt('allow_user_toggle_noti'), '', '10%');
35 $this->setSelectAllCheckbox('user_id');
36
37 $this->setRowTemplate('tpl.forums_members_row.html', 'Modules/Forum');
38 $this->addMultiCommand('enableHideUserToggleNoti', $this->lng->txt('enable_hide_user_toggle'));
39 $this->addMultiCommand('disableHideUserToggleNoti', $this->lng->txt('disable_hide_user_toggle'));
40 }
41}
An exception for terminatinating execution or to throw for unit testing.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilForumSettingsGUI $cmd_class_instance, string $cmd, ilObjForum $forum, string $type)
Class ilForumSettingsGUI.
Class ilObjForum.
getRefId()
get reference id @access public
Class ilTable2GUI.
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.
addMultiCommand($a_cmd, $a_text)
Add Command 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.
setId($a_val)
Set id.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
$type