‪TYPO3CMS  9.5
TYPO3\CMS\Lowlevel\Controller\ConfigurationController Class Reference

Public Member Functions

ResponseInterface mainAction (ServerRequestInterface $request)
 

Protected Member Functions

BackendUserAuthentication getBackendUser ()
 
LanguageService getLanguageService ()
 

Protected Attributes

array $treeSetup
 
array $blindedConfigurationOptions
 

Detailed Description

View configuration arrays in the backend

This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.

Definition at line 39 of file ConfigurationController.php.

Member Function Documentation

◆ getBackendUser()

BackendUserAuthentication TYPO3\CMS\Lowlevel\Controller\ConfigurationController::getBackendUser ( )
protected

Returns the Backend User

Returns
‪BackendUserAuthentication

Definition at line 319 of file ConfigurationController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Lowlevel\Controller\ConfigurationController\mainAction().

◆ getLanguageService()

LanguageService TYPO3\CMS\Lowlevel\Controller\ConfigurationController::getLanguageService ( )
protected
Returns
‪LanguageService

Definition at line 327 of file ConfigurationController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Lowlevel\Controller\ConfigurationController\mainAction().

◆ mainAction()

ResponseInterface TYPO3\CMS\Lowlevel\Controller\ConfigurationController::mainAction ( ServerRequestInterface  $request)

Main controller action determines get/post values, takes care of stored backend user settings for this module, determines tree and renders it.

Parameters
ServerRequestInterface$request‪the current request
Returns
‪ResponseInterface the response with the content
Exceptions

Definition at line 162 of file ConfigurationController.php.

References TYPO3\CMS\Lowlevel\Controller\ConfigurationController\$blindedConfigurationOptions, $GLOBALS, TYPO3\CMS\Lowlevel\Controller\ConfigurationController\getBackendUser(), TYPO3\CMS\Lowlevel\Controller\ConfigurationController\getLanguageService(), TYPO3\CMS\Core\Utility\ArrayUtility\intersectRecursive(), TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule(), and TYPO3\CMS\Core\Utility\ArrayUtility\naturalKeySortRecursive().

Member Data Documentation

◆ $blindedConfigurationOptions

array TYPO3\CMS\Lowlevel\Controller\ConfigurationController::$blindedConfigurationOptions
protected
Initial value:
= array(
'TYPO3_CONF_VARS' => [
'DB' => [
'database' => '******',
'host' => '******',
'password' => '******',
'port' => '******',
'socket' => '******',
'username' => '******',
'Connections' => [
'Default' => [
'dbname' => '******',
'host' => '******',
'password' => '******',
'port' => '******',
'user' => '******',
'unix_socket' => '******',
],
],
],
'SYS' => [
'encryptionKey' => '******'
],
],
)

Blind configurations which should not be visible to mortal admins

Definition at line 127 of file ConfigurationController.php.

Referenced by TYPO3\CMS\Lowlevel\Controller\ConfigurationController\mainAction().

◆ $treeSetup

array TYPO3\CMS\Lowlevel\Controller\ConfigurationController::$treeSetup
protected

Available trees to render.

  • ‪label is an LLL identifier
  • ‪type is used to identify the data source type
  • ‪globalKey (only for type=global) is the name of a global variable

Definition at line 48 of file ConfigurationController.php.