Docs Goabase

Stats
in package

Table of Contents

Properties

$cacheFile  : string
$mainKeys  : array<string|int, mixed>

Methods

__construct()  : mixed
getOutput()  : string
makeCacheVar()  : string
showStatsCal()  : string
generateStatsCache()  : void
generateStatsTable()  : string
getByYear()  : array<string|int, mixed>
getKeyMapping()  : array<string|int, mixed>
loadFromCache()  : array<string|int, mixed>
writeStatsCalCache()  : string

Properties

$cacheFile

private string $cacheFile

$mainKeys

private array<string|int, mixed> $mainKeys = [ // reihenfolge auch für ausgabe 'Party', 'Photos', 'Meeting', 'Report', 'User', 'UserPhoto', 'Comments', 'Forum', ]

Methods

__construct()

public __construct() : mixed

getOutput()

public getOutput() : string
Tags
throws
Exception
Return values
string

makeCacheVar()

public makeCacheVar(array<string|int, mixed> $saStats, string $yearField) : string
Parameters
$saStats : array<string|int, mixed>
$yearField : string
Return values
string

showStatsCal()

public showStatsCal(string $year) : string
Parameters
$year : string
Tags
throws
Exception
Return values
string

generateStatsCache()

private generateStatsCache() : void

generateStatsTable()

private generateStatsTable(array<string|int, mixed> $statMonth, int $statYear) : string
Parameters
$statMonth : array<string|int, mixed>
$statYear : int
Return values
string

getByYear()

private getByYear(string $what[, string $year = 'Total' ]) : array<string|int, mixed>
Parameters
$what : string
$year : string = 'Total'
Return values
array<string|int, mixed>

getKeyMapping()

private getKeyMapping() : array<string|int, mixed>
Tags
throws
Exception
Return values
array<string|int, mixed>

loadFromCache()

private loadFromCache(string $year) : array<string|int, mixed>
Parameters
$year : string
Return values
array<string|int, mixed>

writeStatsCalCache()

private writeStatsCalCache(string $year) : string
Parameters
$year : string
Return values
string

        
On this page

Search results