‪TYPO3CMS  ‪main
TYPO3\CMS\Install\SystemEnvironment\SetupCheck Class Reference
Inheritance diagram for TYPO3\CMS\Install\SystemEnvironment\SetupCheck:
TYPO3\CMS\Install\SystemEnvironment\CheckInterface

Public Member Functions

 getStatus ()
 

Protected Member Functions

 checkTrustedHostPattern ()
 
 checkDownloadsPossible ()
 
 checkSystemLocale ()
 
 checkLocaleWithUTF8filesystem ()
 
 checkSomePhpOpcodeCacheIsLoaded ()
 
 isTrueTypeFontWorking ()
 
 checkLibXmlBug ()
 

Protected Attributes

FlashMessageQueue $messageQueue
 

Detailed Description

Check TYPO3 setup status

This class is a hardcoded requirement check for the TYPO3 setup.

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 37 of file SetupCheck.php.

Member Function Documentation

◆ checkDownloadsPossible()

TYPO3\CMS\Install\SystemEnvironment\SetupCheck::checkDownloadsPossible ( )
protected

Check if it is possible to download external data (e.g. TER) Either allow_url_fopen must be enabled or curl must be used

Definition at line 99 of file SetupCheck.php.

Referenced by TYPO3\CMS\Install\SystemEnvironment\SetupCheck\getStatus().

◆ checkLibXmlBug()

TYPO3\CMS\Install\SystemEnvironment\SetupCheck::checkLibXmlBug ( )
protected

Check for bug in libxml

Definition at line 282 of file SetupCheck.php.

Referenced by TYPO3\CMS\Install\SystemEnvironment\SetupCheck\getStatus().

◆ checkLocaleWithUTF8filesystem()

TYPO3\CMS\Install\SystemEnvironment\SetupCheck::checkLocaleWithUTF8filesystem ( )
protected

Checks whether we can use file names with UTF-8 characters. Configured system locale must support UTF-8 when UTF8filesystem is set

Definition at line 151 of file SetupCheck.php.

References $GLOBALS, and TYPO3\CMS\Core\Core\Environment\isWindows().

Referenced by TYPO3\CMS\Install\SystemEnvironment\SetupCheck\getStatus().

◆ checkSomePhpOpcodeCacheIsLoaded()

TYPO3\CMS\Install\SystemEnvironment\SetupCheck::checkSomePhpOpcodeCacheIsLoaded ( )
protected

Check if some opcode cache is loaded

Definition at line 192 of file SetupCheck.php.

Referenced by TYPO3\CMS\Install\SystemEnvironment\SetupCheck\getStatus().

◆ checkSystemLocale()

TYPO3\CMS\Install\SystemEnvironment\SetupCheck::checkSystemLocale ( )
protected

Check if systemLocale setting is correct (locale exists in the OS)

Definition at line 120 of file SetupCheck.php.

References $GLOBALS, and TYPO3\CMS\Core\Core\Environment\isWindows().

Referenced by TYPO3\CMS\Install\SystemEnvironment\SetupCheck\getStatus().

◆ checkTrustedHostPattern()

TYPO3\CMS\Install\SystemEnvironment\SetupCheck::checkTrustedHostPattern ( )
protected

Checks the status of the trusted hosts pattern check

Definition at line 64 of file SetupCheck.php.

References $GLOBALS, and TYPO3\CMS\Core\Middleware\VerifyHostHeader\ENV_TRUSTED_HOSTS_PATTERN_ALLOW_ALL.

Referenced by TYPO3\CMS\Install\SystemEnvironment\SetupCheck\getStatus().

◆ getStatus()

◆ isTrueTypeFontWorking()

TYPO3\CMS\Install\SystemEnvironment\SetupCheck::isTrueTypeFontWorking ( )
protected

Create true type font test image

Definition at line 241 of file SetupCheck.php.

Referenced by TYPO3\CMS\Install\SystemEnvironment\SetupCheck\getStatus().

Member Data Documentation

◆ $messageQueue

FlashMessageQueue TYPO3\CMS\Install\SystemEnvironment\SetupCheck::$messageQueue
protected