‪TYPO3CMS  9.5
TYPO3\CMS\Install\SystemEnvironment\DatabaseCheck Class Reference
Inheritance diagram for TYPO3\CMS\Install\SystemEnvironment\DatabaseCheck:
TYPO3\CMS\Install\SystemEnvironment\CheckInterface

Public Member Functions

FlashMessageQueue getStatus ()
 

Protected Attributes

array $databasePlatformChecks
 

Detailed Description

Check database configuration status

This class is a hardcoded requirement check for the database server.

The status messages and title must not include HTML, use plain text only. The return values of this class are not bound to HTML and can be used in different scopes (eg. as json array).

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

Definition at line 31 of file DatabaseCheck.php.

Member Function Documentation

◆ getStatus()

FlashMessageQueue TYPO3\CMS\Install\SystemEnvironment\DatabaseCheck::getStatus ( )

Get status of each database platform defined in the list

Returns
‪FlashMessageQueue

Implements TYPO3\CMS\Install\SystemEnvironment\CheckInterface.

Definition at line 47 of file DatabaseCheck.php.

References TYPO3\CMS\Core\Messaging\FlashMessageQueue\enqueue().

Member Data Documentation

◆ $databasePlatformChecks

array TYPO3\CMS\Install\SystemEnvironment\DatabaseCheck::$databasePlatformChecks
protected
Initial value:
= array(
MySqlCheck::class,
PostgreSqlCheck::class,
)

List of database platforms to check

Definition at line 37 of file DatabaseCheck.php.