31 public function __construct(?
object $a_parent_obj,
string $a_parent_cmd)
33 $this->
setId(
"lpobjstattbl");
41 $this->
setTitle($this->
lng->txt(
"trac_object_stat_admin"));
46 $this->
lng->txt(
"trac_delete_data")
50 $this->
ctrl->getFormAction($a_parent_obj, $a_parent_cmd)
53 "tpl.lp_object_statistics_admin_row.html",
54 "components/ILIAS/Tracking" 70 foreach (
$data as $idx => $item) {
71 $data[$idx][
"id"] = $item[
"month"];
73 $data[$idx][
"month"] = substr($item[
"month"], 0, 4) .
74 "-" . str_pad(substr($item[
"month"], 5), 2,
"0", STR_PAD_LEFT);
83 protected function fillRow(array $a_set): void
89 $caption = $this->
lng->txt(
90 "month_" . substr($a_set[
"month"], 5, 2) .
"_long" 92 " " . substr($a_set[
"month"], 0, 4);
94 $this->tpl->setVariable(
"ID", $a_set[
"id"]);
95 $this->tpl->setVariable(
"MONTH", $caption);
96 $this->tpl->setVariable(
"COUNT", $a_set[
"count"]);
setFormAction(string $a_form_action, bool $a_multipart=false)
setEnableTitle(bool $a_enabletitle)
static getObjectStatisticsMonthlySummary()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(?object $a_parent_obj, string $a_parent_cmd)
Constructor.
TableGUI class for learning progress.
setDefaultOrderField(string $a_defaultorderfield)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setDefaultOrderDirection(string $a_defaultorderdirection)
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
setEnableNumInfo(bool $a_val)
__construct(Container $dic, ilPlugin $plugin)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
fillRow(array $a_set)
Fill table row.
addMultiCommand(string $a_cmd, string $a_text)
setEnableHeader(bool $a_enableheader)