4 include_once(
"./Services/Tracking/classes/class.ilLPTableBaseGUI.php");
24 $this->
setId(
"lpobjstattbl");
29 $this->
addColumn($lng->txt(
"month"),
"month");
30 $this->
addColumn($lng->txt(
"count"),
"count",
"",
false,
"ilRight");
32 $this->
setTitle($this->lng->txt(
"trac_object_stat_admin"));
35 $this->
addMultiCommand(
"confirmDeleteData", $lng->txt(
"trac_delete_data"));
37 $this->
setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_parent_cmd));
38 $this->
setRowTemplate(
"tpl.lp_object_statistics_admin_row.html",
"Services/Tracking");
45 include_once(
"./Services/Tracking/classes/class.ilLPObjSettings.php");
46 include_once
"Services/Tracking/classes/class.ilTrQuery.php";
50 ilUtil::sendInfo(sprintf($lng->txt(
"trac_log_info"), $info_date, $info[
"counter"]));
57 include_once
"Services/Tracking/classes/class.ilTrQuery.php";
61 foreach(
$data as $idx => $item)
63 $data[$idx][
"id"] = $item[
"month"];
65 $data[$idx][
"month"]= substr($item[
"month"], 0, 4).
66 "-".str_pad(substr($item[
"month"], 5), 2,
"0", STR_PAD_LEFT);
79 $caption = $lng->txt(
"month_".substr($a_set[
"month"], 5, 2).
"_long").
80 " ".substr($a_set[
"month"], 0, 4);
82 $this->tpl->setVariable(
"ID", $a_set[
"id"]);
83 $this->tpl->setVariable(
"MONTH", $caption);
84 $this->tpl->setVariable(
"COUNT", $a_set[
"count"]);