TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Reports\Report\Status\Status Class Reference
Inheritance diagram for TYPO3\CMS\Reports\Report\Status\Status:
TYPO3\CMS\Reports\ReportInterface tx_reports_reports_Status

Public Member Functions

 __construct ()
 
 getReport ()
 
 getSystemStatus ()
 

Protected Member Functions

 getStatusProviders ()
 
 sortStatusProviders (array $statusCollection)
 

Protected Attributes

 $statusProviders = array()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! The status report

Author
Ingo Renner ingo@.nosp@m.typo.nosp@m.3.org

Definition at line 21 of file Status.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Reports\Report\Status\Status::__construct ( )

Constructor for class tx_reports_report_Status

Definition at line 31 of file Status.php.

References $GLOBALS, and TYPO3\CMS\Reports\Report\Status\Status\getStatusProviders().

Member Function Documentation

◆ getReport()

TYPO3\CMS\Reports\Report\Status\Status::getReport ( )

Takes care of creating / rendering the status report

Returns
string The status report as HTML

Implements TYPO3\CMS\Reports\ReportInterface.

Definition at line 41 of file Status.php.

References $GLOBALS, $registry, TYPO3\CMS\Reports\Report\Status\Status\getSystemStatus(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ getStatusProviders()

TYPO3\CMS\Reports\Report\Status\Status::getStatusProviders ( )
protected

Gets all registered status providers and creates instances of them.

Returns
void

Definition at line 57 of file Status.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Reports\Report\Status\Status\__construct().

◆ getSystemStatus()

TYPO3\CMS\Reports\Report\Status\Status::getSystemStatus ( )

◆ sortStatusProviders()

TYPO3\CMS\Reports\Report\Status\Status::sortStatusProviders ( array  $statusCollection)
protected

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

Parameters
array$statusCollectionA collection of statuses (with providers)
Returns
array The collection of statuses sorted by provider (beginning with provider "_install")

Definition at line 167 of file Status.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Reports\Report\Status\Status\getSystemStatus().

Member Data Documentation

◆ $statusProviders

TYPO3\CMS\Reports\Report\Status\Status::$statusProviders = array()
protected

Definition at line 26 of file Status.php.