TYPO3
7.6
|
Public Member Functions | |
injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager) | |
injectEnvironmentService (\TYPO3\CMS\Extbase\Service\EnvironmentService $environmentService) | |
initializeObject () | |
setContentObject (\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObject=null) | |
getContentObject () | |
setConfiguration (array $configuration=array()) | |
getConfiguration ($configurationType, $extensionName=null, $pluginName=null) | |
isFeatureEnabled ($featureName) | |
Protected Member Functions | |
initializeConcreteConfigurationManager () | |
Protected Attributes | |
$objectManager | |
$concreteConfigurationManager | |
$environmentService | |
Additional Inherited Members | |
Public Attributes inherited from ConfigurationManagerInterface | |
const | CONFIGURATION_TYPE_FRAMEWORK = 'Framework' |
const | CONFIGURATION_TYPE_SETTINGS = 'Settings' |
const | CONFIGURATION_TYPE_FULL_TYPOSCRIPT = 'FullTypoScript' |
A configuration manager following the strategy pattern (GoF315). It hides the concrete implementation of the configuration manager and provides an unified acccess point.
Use the shutdown() method to drop the concrete implementation.
Definition at line 23 of file extbase/Classes/Configuration/ConfigurationManager.php.
getConfiguration | ( | $configurationType, | |
$extensionName = null , |
|||
$pluginName = null |
|||
) |
Returns the specified configuration. The actual configuration will be merged from different sources in a defined order.
You can get the following types of configuration invoking: CONFIGURATION_TYPE_SETTINGS: Extbase settings CONFIGURATION_TYPE_FRAMEWORK: the current module/plugin settings CONFIGURATION_TYPE_FULL_TYPOSCRIPT: a raw TS array
Note that this is a low level method and only makes sense to be used by Extbase internally.
string | $configurationType | The kind of configuration to fetch - must be one of the CONFIGURATION_TYPE_* constants |
string | $extensionName | if specified, the configuration for the given extension will be returned. |
string | $pluginName | if specified, the configuration for the given plugin will be returned. |
Exception\InvalidConfigurationTypeException |
Implements ConfigurationManagerInterface.
Definition at line 124 of file extbase/Classes/Configuration/ConfigurationManager.php.
Referenced by ConfigurationManager\isFeatureEnabled().
getContentObject | ( | ) |
Implements ConfigurationManagerInterface.
Definition at line 90 of file extbase/Classes/Configuration/ConfigurationManager.php.
|
protected |
Definition at line 69 of file extbase/Classes/Configuration/ConfigurationManager.php.
Referenced by ConfigurationManager\initializeObject().
initializeObject | ( | ) |
Initializes the object
Definition at line 61 of file extbase/Classes/Configuration/ConfigurationManager.php.
References ConfigurationManager\initializeConcreteConfigurationManager().
injectEnvironmentService | ( | \TYPO3\CMS\Extbase\Service\EnvironmentService | $environmentService | ) |
\TYPO3\CMS\Extbase\Service\EnvironmentService | $environmentService |
Definition at line 51 of file extbase/Classes/Configuration/ConfigurationManager.php.
References ConfigurationManager\$environmentService.
injectObjectManager | ( | \TYPO3\CMS\Extbase\Object\ObjectManagerInterface | $objectManager | ) |
\TYPO3\CMS\Extbase\Object\ObjectManagerInterface | $objectManager |
Definition at line 43 of file extbase/Classes/Configuration/ConfigurationManager.php.
References ConfigurationManager\$objectManager.
isFeatureEnabled | ( | $featureName | ) |
Returns TRUE if a certain feature, identified by $featureName should be activated, FALSE for backwards-compatible behavior.
This is an INTERNAL API used throughout Extbase and Fluid for providing backwards-compatibility. Do not use it in your custom code!
string | $featureName |
Implements ConfigurationManagerInterface.
Definition at line 149 of file extbase/Classes/Configuration/ConfigurationManager.php.
References ConfigurationManager\getConfiguration().
setConfiguration | ( | array | $configuration = array() | ) |
Sets the specified raw configuration coming from the outside. Note that this is a low level method and only makes sense to be used by Extbase internally.
array | $configuration | The new configuration |
Implements ConfigurationManagerInterface.
Definition at line 102 of file extbase/Classes/Configuration/ConfigurationManager.php.
setContentObject | ( | \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer | $contentObject = null | ) |
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer | $contentObject |
Implements ConfigurationManagerInterface.
Definition at line 82 of file extbase/Classes/Configuration/ConfigurationManager.php.
|
protected |
Definition at line 33 of file extbase/Classes/Configuration/ConfigurationManager.php.
|
protected |
Definition at line 38 of file extbase/Classes/Configuration/ConfigurationManager.php.
Referenced by ConfigurationManager\injectEnvironmentService().
|
protected |
Definition at line 28 of file extbase/Classes/Configuration/ConfigurationManager.php.
Referenced by ConfigurationManager\injectObjectManager().