4 require_once
'Services/Table/classes/class.ilTable2GUI.php';
22 public function __construct($a_parent_obj, $a_parent_cmd =
"", $a_template_context =
"")
24 $this->
setId(
'banned_users');
26 parent::__construct($a_parent_obj, $a_parent_cmd, $a_template_context);
28 $this->
setTitle($this->lng->txt(
'ban_table_title'));
33 $this->
addColumn($this->lng->txt(
'login'),
'login');
34 $this->
addColumn($this->lng->txt(
'firstname'),
'firstname');
35 $this->
addColumn($this->lng->txt(
'lastname'),
'lastname');
36 $this->
addColumn($this->lng->txt(
'chtr_ban_ts_tbl_head'),
'timestamp');
37 $this->
addColumn($this->lng->txt(
'chtr_ban_actor_tbl_head'),
'actor');
40 $this->
setRowTemplate(
'tpl.banned_user_table_row.html',
'Modules/Chatroom');
50 if ($a_set[
'timestamp'] > 0) {
54 parent::fillRow($a_set);
setExternalSorting($a_val)
Set external sorting.
setExternalSegmentation($a_val)
Set external segmentation.
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false)
Format a date public.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
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.
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.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.