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

Public Member Functions

 __construct (private readonly UpgradeWizardsService $upgradeWizardsService)
 
Status[] getStatus ()
 
 getLabel ()
 

Protected Member Functions

 getIncompleteWizards ()
 

Private Member Functions

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

Private Attributes

const WRAP_FLAT = 1
 
const WRAP_NESTED = 2
 

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 34 of file InstallStatusReport.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Report\InstallStatusReport::__construct ( private readonly UpgradeWizardsService  $upgradeWizardsService)

Definition at line 39 of file InstallStatusReport.php.

Member Function Documentation

◆ getFileSystemStatus()

◆ getIncompleteWizards()

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).

Definition at line 163 of file InstallStatusReport.php.

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

◆ getLabel()

TYPO3\CMS\Install\Report\InstallStatusReport::getLabel ( )

Return label of this status

Implements TYPO3\CMS\Reports\StatusProviderInterface.

Definition at line 55 of file InstallStatusReport.php.

◆ getLanguageService()

◆ getNewVersionStatus()

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

Checks if there is a new minor TYPO3 version to update to.

Returns
‪Status Represents whether there is a new version available online

Definition at line 205 of file InstallStatusReport.php.

References TYPO3\CMS\Install\Report\InstallStatusReport\getLanguageService(), and TYPO3\CMS\Install\Report\InstallStatusReport\wrapList().

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

◆ getRemainingUpdatesStatus()

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

Checks if there are still updates to perform

Returns
‪Status Represents whether the installation is completely updated yet

Definition at line 180 of file InstallStatusReport.php.

References TYPO3\CMS\Webhooks\Message\$url, TYPO3\CMS\Install\Report\InstallStatusReport\getIncompleteWizards(), and TYPO3\CMS\Install\Report\InstallStatusReport\getLanguageService().

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 
)
private

◆ wrapList()

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

Member Data Documentation

◆ WRAP_FLAT

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

Definition at line 36 of file InstallStatusReport.php.

◆ WRAP_NESTED

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

Definition at line 37 of file InstallStatusReport.php.