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
Number of days to gather information for.
$labels  : array

Methods

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

Properties

$days

Number of days to gather information for.

protected int $days = 31

Methods

__construct()

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

Parameters

$days : int = 31

getChartData()

This method should provide the data for the graph.

public getChartData() : array

Tags

inheritDoc

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