‪TYPO3CMS  10.4
TYPO3\CMS\Install\Report\InstallStatusReport Class Reference
Inheritance diagram for TYPO3\CMS\Install\Report\InstallStatusReport:
TYPO3\CMS\Reports\StatusProviderInterface

Public Member Functions

 __construct (bool $useMarkup=true)
 
Status[] getStatus ()
 

Protected Member Functions

Status getFileSystemStatus ()
 
array getIncompleteWizards ()
 
Status getRemainingUpdatesStatus ()
 
Status getNewVersionStatus ()
 
 wrapList (array $items, int $style)
 
 wrapItems (array $items, string $before, string $after)
 
LanguageService getLanguageService ()
 

Protected Attributes

const WRAP_FLAT = 1
 
const WRAP_NESTED = 2
 
 $useMarkup
 

Detailed Description

Provides an installation status report.

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Definition at line 33 of file InstallStatusReport.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Report\InstallStatusReport::__construct ( bool  $useMarkup = true)

Member Function Documentation

◆ getFileSystemStatus()

◆ getIncompleteWizards()

array TYPO3\CMS\Install\Report\InstallStatusReport::getIncompleteWizards ( )
protected

Returns all incomplete update wizards.

Fetches all wizards that are not marked "done" in the registry and filters out the ones that should not be rendered (= no upgrade required).

Returns
‪array

Definition at line 167 of file InstallStatusReport.php.

Referenced by TYPO3\CMS\Install\Report\InstallStatusReport\getRemainingUpdatesStatus().

◆ getLanguageService()

LanguageService TYPO3\CMS\Install\Report\InstallStatusReport::getLanguageService ( )
protected

◆ getNewVersionStatus()

Status TYPO3\CMS\Install\Report\InstallStatusReport::getNewVersionStatus ( )
protected

◆ getRemainingUpdatesStatus()

Status TYPO3\CMS\Install\Report\InstallStatusReport::getRemainingUpdatesStatus ( )
protected

Checks if there are still updates to perform

Returns
‪Status Represents whether the installation is completely updated yet

Definition at line 185 of file InstallStatusReport.php.

References TYPO3\CMS\Install\Report\InstallStatusReport\getIncompleteWizards(), TYPO3\CMS\Install\Report\InstallStatusReport\getLanguageService(), TYPO3\CMS\Reports\Status\OK, and TYPO3\CMS\Reports\Status\WARNING.

Referenced by TYPO3\CMS\Install\Report\InstallStatusReport\getStatus().

◆ getStatus()

Status [] TYPO3\CMS\Install\Report\InstallStatusReport::getStatus ( )

◆ wrapItems()

TYPO3\CMS\Install\Report\InstallStatusReport::wrapItems ( array  $items,
string  $before,
string  $after 
)
protected

◆ wrapList()

TYPO3\CMS\Install\Report\InstallStatusReport::wrapList ( array  $items,
int  $style 
)
protected

Member Data Documentation

◆ $useMarkup

TYPO3\CMS\Install\Report\InstallStatusReport::$useMarkup
protected

◆ WRAP_FLAT

const TYPO3\CMS\Install\Report\InstallStatusReport::WRAP_FLAT = 1
protected

Definition at line 35 of file InstallStatusReport.php.

◆ WRAP_NESTED

const TYPO3\CMS\Install\Report\InstallStatusReport::WRAP_NESTED = 2
protected

Definition at line 36 of file InstallStatusReport.php.