Status implements RequestAwareReportInterface

The status report

Table of Contents

Interfaces

RequestAwareReportInterface
Interface for classes which provide a report using information from the current request

Properties

$statusProviders  : StatusProviderInterface[][]

Methods

__construct()  : mixed
Constructor for class tx_reports_report_Status
getDetailedSystemStatus()  : Status[][]
Runs through all status providers and returns all statuses collected, which are detailed.
getHighestSeverity()  : int
Determines the highest severity from the given statuses.
getReport()  : string
Takes care of creating / rendering the status report
getSystemStatus()  : Status[][]
Runs through all status providers and returns all statuses collected.
getLanguageService()  : LanguageService
getStatusProviders()  : mixed
Gets all registered status providers and creates instances of them.
renderStatus()  : string
Renders the system's status
sortStatuses()  : array
Sorts the statuses by severity
sortStatusProviders()  : array
Sorts the status providers (alphabetically and puts primary status providers at the beginning)

Properties

Methods

__construct()

Constructor for class tx_reports_report_Status

public __construct() : mixed

getDetailedSystemStatus()

Runs through all status providers and returns all statuses collected, which are detailed.

public getDetailedSystemStatus() : Status[][]
Return values
Status[][]

getHighestSeverity()

Determines the highest severity from the given statuses.

public getHighestSeverity(array $statusCollection) : int
Parameters
$statusCollection : array

An array of \TYPO3\CMS\Reports\Status objects.

Return values
int —

The highest severity found from the statuses.

getReport()

Takes care of creating / rendering the status report

public getReport([ServerRequestInterface|null $request = null ]) : string
Parameters
$request : ServerRequestInterface|null = null

the currently handled request

Return values
string —

The status report as HTML

getSystemStatus()

Runs through all status providers and returns all statuses collected.

public getSystemStatus([ServerRequestInterface $request = null ]) : Status[][]
Parameters
$request : ServerRequestInterface = null
Return values
Status[][]

getStatusProviders()

Gets all registered status providers and creates instances of them.

protected getStatusProviders() : mixed

renderStatus()

Renders the system's status

protected renderStatus(array $statusCollection) : string
Parameters
$statusCollection : array

An array of statuses as returned by the available status providers

Return values
string —

The system status as an HTML table

sortStatuses()

Sorts the statuses by severity

protected sortStatuses(array $statusCollection) : array
Parameters
$statusCollection : array

A collection of statuses per provider

Return values
array —

The collection of statuses sorted by severity

sortStatusProviders()

Sorts the status providers (alphabetically and puts primary status providers at the beginning)

protected sortStatusProviders(array $statusCollection) : array
Parameters
$statusCollection : array

A collection of statuses (with providers)

Return values
array —

The collection of statuses sorted by provider (beginning with provider "_install")

On this page

Search results