SysLogErrorsDataProvider

class \TYPO3\CMS\Dashboard\Widgets\Provider\SysLogErrorsDataProvider

Implements
ChartDataProviderInterface

Provides chart data for sys log errors.

Table of Contents

Interfaces

ChartDataProviderInterface
Defines API for provider, used for chart widgets.

Properties

$data  : array
$days  : int
$labels  : array

Methods

__construct()  : mixed
getChartData()  : array
This method should provide the data for the graph.
calculateDataForLastDays()  : void
getLanguageService()  : LanguageService
getNumberOfErrorsInPeriod()  : int

Properties

Methods

__construct()

public __construct([int $days = 31 ]) : mixed

Parameters

$days : int = 31

Number of days to gather information for.

getChartData()

This method should provide the data for the graph.

public getChartData() : array

The data and options you have depend on the type of chart. More information can be found in the documentation of the specific type.

Return values

array

calculateDataForLastDays()

protected calculateDataForLastDays() : void

getNumberOfErrorsInPeriod()

protected getNumberOfErrorsInPeriod(int $start, int $end) : int

Parameters

$start : int
$end : int

Return values

int
On this page