Home
last modified time | relevance | path

Searched +full:month +(+path:plugin +path:statdisplay) -(+path:plugin +path:statdisplay +path:lang) (Results 1 – 4 of 4) sorted by relevance

/plugin/statdisplay/helper/
H A Dlog.php105 $month = date('Y-m', $date);
263 …if (isset($month) && isset($this->logdata['_lastmonth']) && $this->logdata['_lastmonth'] != $month
279 * @param string $month where to clean up
281 private function clean_month($month) argument
283 if (!$month) return;
288 … $this->logdata[$month][$type] = array_slice($this->logdata[$month][$type], 0, $this->top_limit);
360 // add from previous month if needed
449 * return the month before the given month
457 $month = $month - 1;
458 if ($month < 1) {
[all …]
H A Dtable.php22 * @param string $from restrict to this month
35 case 'one month':
36 $this->month($from);
38 case 'month by day':
41 case 'month by hour':
77 * Print referers for a given month
122 * Print top pages for a given month
192 * print a single month
196 private function month($date = '') function in helper_plugin_statdisplay_table
316 if ($month[0] == '_') continue;
[all …]
H A Dgraph.php36 case 'month by day':
39 case 'month by hour':
72 foreach ($this->log->logdata as $month => $data) {
73 if ($month[0] == '_') continue;
74 if ($from && $month < $from) continue;
75 if ($to && $month > $to) break;
77 $times[] = $month;
100 * Show month access by day or hour
142 * Show month traffic by day or hour
179 * @param string $date month to display
/plugin/statdisplay/
H A Dsyntax.php88 * Make correct year-month format from the input syntax
96 list($month, $year) = array_pad(explode('_', strtolower($date)), 2, '');
99 $month = array_search($month, $months);
100 if (!$month) return '';
101 return sprintf("%d-%02d", $year, $month);