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  : array<string|int, array<string|int, StatusProviderInterface>>

Methods

__construct()  : mixed
Constructor for class tx_reports_report_Status
getDetailedSystemStatus()  : array<string|int, array<string|int, 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()  : array<string|int, array<string|int, 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<string|int, mixed>
Sorts the statuses by severity
sortStatusProviders()  : array<string|int, mixed>
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() : array<string|int, array<string|int, Status>>
Return values
array<string|int, array<string|int, Status>>

getHighestSeverity()

Determines the highest severity from the given statuses.

public getHighestSeverity(array<string|int, mixed> $statusCollection) : int
Parameters
$statusCollection : array<string|int, mixed>

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 ]) : array<string|int, array<string|int, Status>>
Parameters
$request : ServerRequestInterface = null
Return values
array<string|int, array<string|int, Status>>

getStatusProviders()

Gets all registered status providers and creates instances of them.

protected getStatusProviders() : mixed

renderStatus()

Renders the system's status

protected renderStatus(array<string|int, mixed> $statusCollection) : string
Parameters
$statusCollection : array<string|int, mixed>

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<string|int, mixed> $statusCollection) : array<string|int, mixed>
Parameters
$statusCollection : array<string|int, mixed>

A collection of statuses per provider

Return values
array<string|int, mixed>

The collection of statuses sorted by severity

sortStatusProviders()

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

protected sortStatusProviders(array<string|int, mixed> $statusCollection) : array<string|int, mixed>
Parameters
$statusCollection : array<string|int, mixed>

A collection of statuses (with providers)

Return values
array<string|int, mixed>

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


        
On this page

Search results