LocalConfigurationValueService
Service handling bulk read and write of LocalConfiguration values.
Used by "Configure global settings" / "All configuration" view.
This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.
Table of Contents
Methods
- getCurrentConfigurationData() : array<string|int, mixed>
- Get up configuration data. Prepares main TYPO3_CONF_VARS array to be displayed and merges is with the description file
- updateLocalConfigurationValues() : FlashMessageQueue
- Store changed values in LocalConfiguration
- getDefaultConfigArrayComments() : array<string|int, mixed>
- Read descriptions from description file
- recursiveConfigurationFetching() : array<string|int, mixed>
- Because configuration entries can be at any sub-array level, we need to check entries recursively.
Methods
getCurrentConfigurationData()
Get up configuration data. Prepares main TYPO3_CONF_VARS array to be displayed and merges is with the description file
public
getCurrentConfigurationData() : array<string|int, mixed>
Return values
array<string|int, mixed> —Configuration data
updateLocalConfigurationValues()
Store changed values in LocalConfiguration
public
updateLocalConfigurationValues(array<string|int, mixed> $valueList) : FlashMessageQueue
Parameters
- $valueList : array<string|int, mixed>
-
Nested array with key['key'] value
Return values
FlashMessageQueuegetDefaultConfigArrayComments()
Read descriptions from description file
protected
getDefaultConfigArrayComments() : array<string|int, mixed>
Return values
array<string|int, mixed>recursiveConfigurationFetching()
Because configuration entries can be at any sub-array level, we need to check entries recursively.
protected
recursiveConfigurationFetching(array<string|int, mixed> $sections, array<string|int, mixed> $sectionsFromCurrentConfiguration, array<string|int, mixed> $descriptions[, array<string|int, mixed> $path = [] ]) : array<string|int, mixed>
Parameters
- $sections : array<string|int, mixed>
- $sectionsFromCurrentConfiguration : array<string|int, mixed>
- $descriptions : array<string|int, mixed>
- $path : array<string|int, mixed> = []