ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups 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 ?>