talerbarrindex.php
\file talerbarr/talerbarrindex.php \ingroup talerbarr \brief Home page of talerbarr top menu
Table of Contents
Functions
- talerbarr_build_chart_buckets() : array<string|int, mixed>
- Build bucket definitions for a given range key.
Functions
talerbarr_build_chart_buckets()
Build bucket definitions for a given range key.
talerbarr_build_chart_buckets(string $rangeKey, int $nowTs) : array<string|int, mixed>
Parameters
- $rangeKey : string
-
Chart range key: day|week|month|year.
- $nowTs : int
-
Current timestamp used as reference to anchor buckets.