ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilBannedUsersTableGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'Services/Table/classes/class.ilTable2GUI.php';
5 
13 {
23  public function __construct($a_parent_obj, $a_parent_cmd = "", $a_template_context = "")
24  {
25  parent::__construct($a_parent_obj, $a_parent_cmd, $a_template_context);
26 
27  global $lng;
28 
29  $this->setId('banned_users');
30  $this->setTitle($lng->txt('ban_table_title'));
31  $this->setExternalSegmentation(true);
32  $this->setExternalSorting(false);
33 
34  $this->addColumn('', '', '', true);
35  $this->addColumn($lng->txt('login'), 'login');
36  $this->addColumn($lng->txt('firstname'), 'firstname');
37  $this->addColumn($lng->txt('lastname'), 'lastname');
38  //$this->addColumn($lng->txt('remark'), 'remark');
39 
40  $this->setSelectAllCheckbox('banned_user_id');
41  $this->setRowTemplate('tpl.banned_user_table_row.html', 'Modules/Chatroom');
42 
43  $this->addMultiCommand('ban-delete', $lng->txt('unban'));
44  }
45 
46 }
47 
48 ?>
setExternalSorting($a_val)
Set external sorting.
setExternalSegmentation($a_val)
Set external segmentation.
setId($a_val)
Set id.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
Class ilTable2GUI.
Class ilBannedUsersTableGUI.
addMultiCommand($a_cmd, $a_text)
Add Command button.
__construct($a_parent_obj, $a_parent_cmd="", $a_template_context="")
Constructor Calls parent constructor.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
global $lng
Definition: privfeed.php:17
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.