4 require_once
'Services/Table/classes/class.ilTable2GUI.php';
22 public function __construct($a_parent_obj, $a_parent_cmd =
"")
24 parent::__construct($a_parent_obj, $a_parent_cmd);
26 $this->
setRowTemplate(
'tpl.statistics_table_row.html',
'Modules/Forum');
27 $this->
addColumn($this->lng->txt(
'frm_statistics_ranking'),
'ranking',
'25%');
28 $this->
addColumn($this->lng->txt(
'login'),
'login',
'25%');
29 $this->
addColumn($this->lng->txt(
'lastname'),
'lastname',
'25%');
30 $this->
addColumn($this->lng->txt(
'firstname'),
'firstname',
'25%');
Class ilForumStatisticsTableGUI.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
enable($a_module_name)
enables particular modules of table
setRowTemplate($a_template, $a_template_dir="")
Set row template.
numericOrdering($a_field)
Should this field be sorted numeric?
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.
__construct($a_parent_obj, $a_parent_cmd="")
Constructor.