ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
4require_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?>
Class ilBannedUsersTableGUI.
__construct($a_parent_obj, $a_parent_cmd="", $a_template_context="")
Constructor.
Class ilTable2GUI.
setExternalSorting($a_val)
Set external sorting.
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.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
setExternalSegmentation($a_val)
Set external segmentation.
setId($a_val)
Set id.
global $lng
Definition: privfeed.php:40