ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
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 
16 {
28  public function __construct($a_parent_obj, $a_parent_cmd = "", $a_template_context = "")
29  {
30  parent::__construct($a_parent_obj, $a_parent_cmd, $a_template_context);
31 
32  global $lng;
33 
34  $this->setId('banned_users');
35  $this->setTitle( $lng->txt('ban_table_title') );
36  $this->setExternalSegmentation(true);
37  $this->setExternalSorting(false);
38 
39  $this->addColumn('', '', '', true);
40  $this->addColumn($lng->txt('login'), 'login');
41  $this->addColumn($lng->txt('firstname'), 'firstname');
42  $this->addColumn($lng->txt('lastname'), 'lastname');
43  //$this->addColumn($lng->txt('remark'), 'remark');
44 
45  $this->setSelectAllCheckbox('banned_user_id');
46  $this->setRowTemplate('tpl.banned_user_table_row.html', 'Modules/Chatroom');
47 
48  $this->addMultiCommand('ban-delete', $lng->txt('unban'));
49  }
50 
51 }
52 
53 ?>
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.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="")
Add a column to the header.
Class ilBannedUsersTableGUI.
addMultiCommand($a_cmd, $a_text)
Add Command button.
__construct($a_parent_obj, $a_parent_cmd="", $a_template_context="")
Constructor.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
global $lng
Definition: privfeed.php:40
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.