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

Public Member Functions

 __construct (PackageManager $packageManager, ExtensionConfigurationService $extensionConfigurationService, LanguageServiceFactory $languageServiceFactory)
 
ResponseInterface cardsAction (ServerRequestInterface $request)
 
ResponseInterface changeInstallToolPasswordGetDataAction (ServerRequestInterface $request)
 
ResponseInterface changeInstallToolPasswordAction (ServerRequestInterface $request)
 
ResponseInterface systemMaintainerGetListAction (ServerRequestInterface $request)
 
ResponseInterface systemMaintainerWriteAction (ServerRequestInterface $request)
 
ResponseInterface localConfigurationGetContentAction (ServerRequestInterface $request)
 
ResponseInterface localConfigurationWriteAction (ServerRequestInterface $request)
 
ResponseInterface presetsGetContentAction (ServerRequestInterface $request)
 
ResponseInterface presetsActivateAction (ServerRequestInterface $request)
 
ResponseInterface extensionConfigurationGetContentAction (ServerRequestInterface $request)
 
ResponseInterface extensionConfigurationWriteAction (ServerRequestInterface $request)
 
ResponseInterface featuresGetContentAction (ServerRequestInterface $request)
 
ResponseInterface featuresSaveAction (ServerRequestInterface $request)
 

Private Attributes

PackageManager $packageManager
 
ExtensionConfigurationService $extensionConfigurationService
 
LanguageServiceFactory $languageServiceFactory
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Install\Controller\AbstractController
StandaloneView initializeStandaloneView (ServerRequestInterface $request, string $templatePath)
 

Detailed Description

Settings controller

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

Definition at line 47 of file SettingsController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Controller\SettingsController::__construct ( PackageManager  $packageManager,
ExtensionConfigurationService  $extensionConfigurationService,
LanguageServiceFactory  $languageServiceFactory 
)

Member Function Documentation

◆ cardsAction()

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

Main "show the cards" view

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 77 of file SettingsController.php.

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

◆ changeInstallToolPasswordAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::changeInstallToolPasswordAction ( ServerRequestInterface  $request)

Change install tool password

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 117 of file SettingsController.php.

References TYPO3\CMS\Core\Messaging\AbstractMessage\ERROR.

◆ changeInstallToolPasswordGetDataAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::changeInstallToolPasswordGetDataAction ( ServerRequestInterface  $request)

Change install tool password

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 92 of file SettingsController.php.

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

◆ extensionConfigurationGetContentAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::extensionConfigurationGetContentAction ( ServerRequestInterface  $request)

Render a list of extensions with their configuration form.

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 406 of file SettingsController.php.

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

◆ extensionConfigurationWriteAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::extensionConfigurationWriteAction ( ServerRequestInterface  $request)

Write extension configuration

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 439 of file SettingsController.php.

References TYPO3\CMS\Core\Messaging\AbstractMessage\OK, and TYPO3\CMS\Core\Utility\ArrayUtility\setValueByPath().

◆ featuresGetContentAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::featuresGetContentAction ( ServerRequestInterface  $request)

◆ featuresSaveAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::featuresSaveAction ( ServerRequestInterface  $request)

Update feature toggles state

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 513 of file SettingsController.php.

References $GLOBALS, and TYPO3\CMS\Core\Messaging\AbstractMessage\OK.

◆ localConfigurationGetContentAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::localConfigurationGetContentAction ( ServerRequestInterface  $request)

Main LocalConfiguration card content

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 276 of file SettingsController.php.

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

◆ localConfigurationWriteAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::localConfigurationWriteAction ( ServerRequestInterface  $request)

Write given LocalConfiguration settings

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface
Exceptions

Definition at line 308 of file SettingsController.php.

References TYPO3\CMS\Core\Messaging\AbstractMessage\WARNING.

◆ presetsActivateAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::presetsActivateAction ( ServerRequestInterface  $request)

Write selected presets

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 368 of file SettingsController.php.

References TYPO3\CMS\Core\Messaging\AbstractMessage\INFO.

◆ presetsGetContentAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::presetsGetContentAction ( ServerRequestInterface  $request)

Main preset card content

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 338 of file SettingsController.php.

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

◆ systemMaintainerGetListAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::systemMaintainerGetListAction ( ServerRequestInterface  $request)

Return a list of possible and active system maintainers

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 159 of file SettingsController.php.

References $GLOBALS, TYPO3\CMS\Core\FormProtection\FormProtectionFactory\get(), TYPO3\CMS\Core\Core\Environment\getContext(), TYPO3\CMS\Install\Controller\AbstractController\initializeStandaloneView(), and TYPO3\CMS\Core\Core\ApplicationContext\isDevelopment().

◆ systemMaintainerWriteAction()

ResponseInterface TYPO3\CMS\Install\Controller\SettingsController::systemMaintainerWriteAction ( ServerRequestInterface  $request)

Write new system maintainer list

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 215 of file SettingsController.php.

References TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), and TYPO3\CMS\Core\Messaging\AbstractMessage\INFO.

Member Data Documentation

◆ $extensionConfigurationService

ExtensionConfigurationService TYPO3\CMS\Install\Controller\SettingsController::$extensionConfigurationService
private

◆ $languageServiceFactory

LanguageServiceFactory TYPO3\CMS\Install\Controller\SettingsController::$languageServiceFactory
private

◆ $packageManager

PackageManager TYPO3\CMS\Install\Controller\SettingsController::$packageManager
private