Documentation

z_statisticsModel extends z_model
in package

The statistics model handles log data

Table of Contents

getLogCategories()  : array<string|int, array<string|int, mixed>>
Returns a list of all log categorys
getLogTableByCategories()  : array<string|int, array<string|int, mixed>>
Gets logs specified by attributes

Methods

getLogCategories()

Returns a list of all log categorys

public getLogCategories() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>>

The list from the database

getLogTableByCategories()

Gets logs specified by attributes

public getLogTableByCategories(string $start, string $end, int $categories) : array<string|int, array<string|int, mixed>>
Parameters
$start : string

The start date from which logs should be returned in a sql format

$end : string

The end date to which the logs should be returned in sql format

$categories : int

A list of category ids

Return values
array<string|int, array<string|int, mixed>>

The datasets from the database in an array

Search results