‪TYPO3CMS  10.4
TYPO3\CMS\Install\Controller\EnvironmentController Class Reference
Inheritance diagram for TYPO3\CMS\Install\Controller\EnvironmentController:
TYPO3\CMS\Install\Controller\AbstractController

Public Member Functions

 __construct (LateBootService $lateBootService)
 
ResponseInterface cardsAction (ServerRequestInterface $request)
 
ResponseInterface systemInformationGetDataAction (ServerRequestInterface $request)
 
ResponseInterface phpInfoGetDataAction (ServerRequestInterface $request)
 
ResponseInterface environmentCheckGetStatusAction (ServerRequestInterface $request)
 
ResponseInterface folderStructureGetStatusAction (ServerRequestInterface $request)
 
ResponseInterface folderStructureFixAction ()
 
ResponseInterface mailTestGetDataAction (ServerRequestInterface $request)
 
ResponseInterface mailTestAction (ServerRequestInterface $request)
 
ResponseInterface imageProcessingGetDataAction (ServerRequestInterface $request)
 
ResponseInterface imageProcessingTrueTypeAction ()
 
ResponseInterface imageProcessingReadJpgAction ()
 
ResponseInterface imageProcessingReadGifAction ()
 
ResponseInterface imageProcessingReadPngAction ()
 
ResponseInterface imageProcessingReadTifAction ()
 
ResponseInterface imageProcessingReadPdfAction ()
 
ResponseInterface imageProcessingReadAiAction ()
 
ResponseInterface imageProcessingWriteGifAction ()
 
ResponseInterface imageProcessingWritePngAction ()
 
ResponseInterface imageProcessingGifToGifAction ()
 
ResponseInterface imageProcessingPngToPngAction ()
 
ResponseInterface imageProcessingGifToJpgAction ()
 
ResponseInterface imageProcessingCombineGifMaskAction ()
 
ResponseInterface imageProcessingCombineJpgMaskAction ()
 
ResponseInterface imageProcessingGdlibSimpleAction ()
 
ResponseInterface imageProcessingGdlibFromFileAction ()
 
ResponseInterface imageProcessingGdlibRenderTextAction ()
 
ResponseInterface imageProcessingGdlibNiceTextAction ()
 
ResponseInterface imageProcessingGdlibNiceTextShadowAction ()
 

Protected Member Functions

GraphicalFunctions initializeImageProcessor ()
 
string determineImageMagickVersion ()
 
ResponseInterface convertImageFormatsToJpg (string $inputFormat)
 
array getDatabaseConnectionInformation ()
 
array getApplicationContextInformation ()
 
string getSenderEmailAddress ()
 
string getSenderEmailName ()
 
string getEmailSubject ()
 
ResponseInterface getImageTestResponse (array $testResult)
 
FlashMessage imageGenerationFailedMessage ()
 
bool isImageMagickEnabledAndConfigured ()
 
FlashMessage imageMagickDisabledMessage ()
 
string getImagesPath ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Install\Controller\AbstractController
StandaloneView initializeStandaloneView (ServerRequestInterface $request, string $templatePath)
 

Private Attributes

const IMAGE_FILE_EXT = ['gif', 'jpg', 'png', 'tif', 'ai', 'pdf']
 
LateBootService $lateBootService
 

Detailed Description

Environment controller

This class is a specific controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 52 of file EnvironmentController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Controller\EnvironmentController::__construct ( LateBootService  $lateBootService)

Member Function Documentation

◆ cardsAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::cardsAction ( ServerRequestInterface  $request)

Main "show the cards" view

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 72 of file EnvironmentController.php.

References TYPO3\CMS\Install\Controller\AbstractController\initializeStandaloneView().

◆ convertImageFormatsToJpg()

◆ determineImageMagickVersion()

string TYPO3\CMS\Install\Controller\EnvironmentController::determineImageMagickVersion ( )
protected

◆ environmentCheckGetStatusAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::environmentCheckGetStatusAction ( ServerRequestInterface  $request)

◆ folderStructureFixAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::folderStructureFixAction ( )

Try to fix folder structure errors

Returns
‪ResponseInterface

Definition at line 216 of file EnvironmentController.php.

◆ folderStructureGetStatusAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::folderStructureGetStatusAction ( ServerRequestInterface  $request)

◆ getApplicationContextInformation()

array TYPO3\CMS\Install\Controller\EnvironmentController::getApplicationContextInformation ( )
protected

◆ getDatabaseConnectionInformation()

array TYPO3\CMS\Install\Controller\EnvironmentController::getDatabaseConnectionInformation ( )
protected

Get details about all configured database connections

Returns
‪array

Definition at line 988 of file EnvironmentController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Install\Controller\EnvironmentController\systemInformationGetDataAction().

◆ getEmailSubject()

string TYPO3\CMS\Install\Controller\EnvironmentController::getEmailSubject ( )
protected

Gets email subject from configuration ['TYPO3_CONF_VARS']['SYS']['sitename'] If this setting is empty, it falls back to a default string.

Returns
‪string

Definition at line 1071 of file EnvironmentController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Install\Controller\EnvironmentController\mailTestAction().

◆ getImagesPath()

◆ getImageTestResponse()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::getImageTestResponse ( array  $testResult)
protected

◆ getSenderEmailAddress()

string TYPO3\CMS\Install\Controller\EnvironmentController::getSenderEmailAddress ( )
protected

Get sender address from configuration ['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress'] If this setting is empty fall back to 'no-re.nosp@m.ply@.nosp@m.examp.nosp@m.le.c.nosp@m.om'

Returns
‪string Returns an email address

Definition at line 1043 of file EnvironmentController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Install\Controller\EnvironmentController\mailTestAction().

◆ getSenderEmailName()

string TYPO3\CMS\Install\Controller\EnvironmentController::getSenderEmailName ( )
protected

Gets sender name from configuration ['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName'] If this setting is empty, it falls back to a default string.

Returns
‪string

Definition at line 1057 of file EnvironmentController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Install\Controller\EnvironmentController\mailTestAction().

◆ imageGenerationFailedMessage()

◆ imageMagickDisabledMessage()

◆ imageProcessingCombineGifMaskAction()

◆ imageProcessingCombineJpgMaskAction()

◆ imageProcessingGdlibFromFileAction()

◆ imageProcessingGdlibNiceTextAction()

◆ imageProcessingGdlibNiceTextShadowAction()

◆ imageProcessingGdlibRenderTextAction()

◆ imageProcessingGdlibSimpleAction()

◆ imageProcessingGetDataAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::imageProcessingGetDataAction ( ServerRequestInterface  $request)

System Information Get Data action

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 320 of file EnvironmentController.php.

References $GLOBALS, TYPO3\CMS\Install\Controller\EnvironmentController\determineImageMagickVersion(), and TYPO3\CMS\Install\Controller\AbstractController\initializeStandaloneView().

◆ imageProcessingGifToGifAction()

◆ imageProcessingGifToJpgAction()

◆ imageProcessingPngToPngAction()

◆ imageProcessingReadAiAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::imageProcessingReadAiAction ( )

Convert to jpg from ai

Returns
‪ResponseInterface

Definition at line 433 of file EnvironmentController.php.

References TYPO3\CMS\Install\Controller\EnvironmentController\convertImageFormatsToJpg().

◆ imageProcessingReadGifAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::imageProcessingReadGifAction ( )

Convert to jpg from gif

Returns
‪ResponseInterface

Definition at line 393 of file EnvironmentController.php.

References TYPO3\CMS\Install\Controller\EnvironmentController\convertImageFormatsToJpg().

◆ imageProcessingReadJpgAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::imageProcessingReadJpgAction ( )

Convert to jpg from jpg

Returns
‪ResponseInterface

Definition at line 383 of file EnvironmentController.php.

References TYPO3\CMS\Install\Controller\EnvironmentController\convertImageFormatsToJpg().

◆ imageProcessingReadPdfAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::imageProcessingReadPdfAction ( )

Convert to jpg from pdf

Returns
‪ResponseInterface

Definition at line 423 of file EnvironmentController.php.

References TYPO3\CMS\Install\Controller\EnvironmentController\convertImageFormatsToJpg().

◆ imageProcessingReadPngAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::imageProcessingReadPngAction ( )

Convert to jpg from png

Returns
‪ResponseInterface

Definition at line 403 of file EnvironmentController.php.

References TYPO3\CMS\Install\Controller\EnvironmentController\convertImageFormatsToJpg().

◆ imageProcessingReadTifAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::imageProcessingReadTifAction ( )

Convert to jpg from tif

Returns
‪ResponseInterface

Definition at line 413 of file EnvironmentController.php.

References TYPO3\CMS\Install\Controller\EnvironmentController\convertImageFormatsToJpg().

◆ imageProcessingTrueTypeAction()

◆ imageProcessingWriteGifAction()

◆ imageProcessingWritePngAction()

◆ initializeImageProcessor()

◆ isImageMagickEnabledAndConfigured()

◆ mailTestAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::mailTestAction ( ServerRequestInterface  $request)

◆ mailTestGetDataAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::mailTestGetDataAction ( ServerRequestInterface  $request)

System Information Get Data action

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 233 of file EnvironmentController.php.

References TYPO3\CMS\Core\FormProtection\FormProtectionFactory\get(), and TYPO3\CMS\Install\Controller\AbstractController\initializeStandaloneView().

◆ phpInfoGetDataAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::phpInfoGetDataAction ( ServerRequestInterface  $request)

System Information Get Data action

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 109 of file EnvironmentController.php.

References TYPO3\CMS\Install\Controller\AbstractController\initializeStandaloneView().

◆ systemInformationGetDataAction()

ResponseInterface TYPO3\CMS\Install\Controller\EnvironmentController::systemInformationGetDataAction ( ServerRequestInterface  $request)

Member Data Documentation

◆ $lateBootService

LateBootService TYPO3\CMS\Install\Controller\EnvironmentController::$lateBootService
private

◆ IMAGE_FILE_EXT

const TYPO3\CMS\Install\Controller\EnvironmentController::IMAGE_FILE_EXT = ['gif', 'jpg', 'png', 'tif', 'ai', 'pdf']
private

Definition at line 54 of file EnvironmentController.php.