|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| getTypoScriptSetup () | |
Protected Member Functions | |
| getPluginConfiguration ($extensionName, $pluginName) | |
| getSwitchableControllerActions ($extensionName, $pluginName) | |
| getContextSpecificFrameworkConfiguration (array $frameworkConfiguration) | |
| overrideStoragePidIfStartingPointIsSet (array $frameworkConfiguration) | |
| overrideConfigurationFromPlugin (array $frameworkConfiguration) | |
| overrideConfigurationFromFlexform (array $frameworkConfiguration) | |
| convertFlexformContentToArray ($flexFormContent) | |
| walkFlexformNode ($nodeArray, $valuePointer= 'vDEF') | |
| mergeConfigurationIntoFrameworkConfiguration (array $frameworkConfiguration, array $configuration, $configurationPartName) | |
| overrideSwitchableControllerActionsFromFlexform (array $frameworkConfiguration, array $flexformConfiguration) | |
Definition at line 34 of file FrontendConfigurationManager.php.
| Tx_Extbase_Configuration_FrontendConfigurationManager::convertFlexformContentToArray | ( | $ | flexFormContent | ) | [protected] |
Parses the FlexForm content and converts it to an array The resulting array will be multi-dimensional, as a value "bla.blubb" results in two levels, and a value "bla.blubb.bla" results in three levels.
Note: multi-language FlexForms are not supported yet
| string | $flexFormContent | FlexForm xml string |
Definition at line 179 of file FrontendConfigurationManager.php.
References walkFlexformNode(), and t3lib_div\xml2array().
Referenced by overrideConfigurationFromFlexform().
| Tx_Extbase_Configuration_FrontendConfigurationManager::getContextSpecificFrameworkConfiguration | ( | array $ | frameworkConfiguration | ) | [protected] |
Get context specific framework configuration.
| array | $frameworkConfiguration | The framework configuration to modify |
Reimplemented from Tx_Extbase_Configuration_AbstractConfigurationManager.
Definition at line 93 of file FrontendConfigurationManager.php.
References overrideConfigurationFromFlexform(), overrideConfigurationFromPlugin(), and overrideStoragePidIfStartingPointIsSet().
| Tx_Extbase_Configuration_FrontendConfigurationManager::getPluginConfiguration | ( | $ | extensionName, |
| $ | pluginName | ||
| ) | [protected] |
Returns the TypoScript configuration found in plugin.tx_yourextension_yourplugin merged with the global configuration of your extension from plugin.tx_yourextension
| string | $extensionName | |
| string | $pluginName |
Reimplemented from Tx_Extbase_Configuration_AbstractConfigurationManager.
Definition at line 53 of file FrontendConfigurationManager.php.
References Tx_Extbase_Configuration_AbstractConfigurationManager\$extensionName, Tx_Extbase_Configuration_AbstractConfigurationManager\$pluginName, t3lib_div\array_merge_recursive_overrule(), Tx_Extbase_Utility_TypoScript\convertTypoScriptArrayToPlainArray(), and getTypoScriptSetup().
| Tx_Extbase_Configuration_FrontendConfigurationManager::getSwitchableControllerActions | ( | $ | extensionName, |
| $ | pluginName | ||
| ) | [protected] |
Returns the configured controller/action pairs of the specified plugin in the format array( 'Controller1' => array('action1', 'action2'), 'Controller2' => array('action3', 'action4') )
| string | $extensionName | |
| string | $pluginName |
Reimplemented from Tx_Extbase_Configuration_AbstractConfigurationManager.
Definition at line 77 of file FrontendConfigurationManager.php.
References Tx_Extbase_Configuration_AbstractConfigurationManager\$extensionName, $GLOBALS, and Tx_Extbase_Configuration_AbstractConfigurationManager\$pluginName.
| Tx_Extbase_Configuration_FrontendConfigurationManager::getTypoScriptSetup | ( | ) |
Returns TypoScript Setup array from current Environment.
Reimplemented from Tx_Extbase_Configuration_AbstractConfigurationManager.
Definition at line 41 of file FrontendConfigurationManager.php.
References $GLOBALS.
Referenced by getPluginConfiguration(), and overrideConfigurationFromPlugin().
| Tx_Extbase_Configuration_FrontendConfigurationManager::mergeConfigurationIntoFrameworkConfiguration | ( | array $ | frameworkConfiguration, |
| array $ | configuration, | ||
| $ | configurationPartName | ||
| ) | [protected] |
Merge a configuration into the framework configuration.
| array | $frameworkConfiguration | the framework configuration to merge the data on |
| array | $configuration | The configuration |
| string | $configurationPartName | The name of the configuration part which should be merged. |
Definition at line 269 of file FrontendConfigurationManager.php.
References t3lib_div\array_merge_recursive_overrule().
Referenced by overrideConfigurationFromFlexform(), and overrideConfigurationFromPlugin().
| Tx_Extbase_Configuration_FrontendConfigurationManager::overrideConfigurationFromFlexform | ( | array $ | frameworkConfiguration | ) | [protected] |
Overrides configuration settings from flexforms. This merges the whole flexform data, and overrides switchable controller actions.
| array | the framework configuration |
Definition at line 156 of file FrontendConfigurationManager.php.
References convertFlexformContentToArray(), mergeConfigurationIntoFrameworkConfiguration(), and overrideSwitchableControllerActionsFromFlexform().
Referenced by getContextSpecificFrameworkConfiguration().
| Tx_Extbase_Configuration_FrontendConfigurationManager::overrideConfigurationFromPlugin | ( | array $ | frameworkConfiguration | ) | [protected] |
Overrides configuration settings from the plugin typoscript (plugin.tx_myext_pi1.)
| array | the framework configuration |
Definition at line 136 of file FrontendConfigurationManager.php.
References Tx_Extbase_Utility_TypoScript\convertTypoScriptArrayToPlainArray(), getTypoScriptSetup(), and mergeConfigurationIntoFrameworkConfiguration().
Referenced by getContextSpecificFrameworkConfiguration().
| Tx_Extbase_Configuration_FrontendConfigurationManager::overrideStoragePidIfStartingPointIsSet | ( | array $ | frameworkConfiguration | ) | [protected] |
Overrides the storage PID settings, in case the "Startingpoint" settings is set in the plugin configuration.
| array | $frameworkConfiguration | the framework configurations |
Definition at line 108 of file FrontendConfigurationManager.php.
References $pid, t3lib_div\array_merge_recursive_overrule(), and t3lib_div\trimExplode().
Referenced by getContextSpecificFrameworkConfiguration().
| Tx_Extbase_Configuration_FrontendConfigurationManager::overrideSwitchableControllerActionsFromFlexform | ( | array $ | frameworkConfiguration, |
| array $ | flexformConfiguration | ||
| ) | [protected] |
Overrides the switchable controller actions from the flexform.
| array | $frameworkConfiguration | The original framework configuration |
| array | $flexformConfiguration | The full flexform configuration |
Definition at line 283 of file FrontendConfigurationManager.php.
References Tx_Extbase_Configuration_AbstractConfigurationManager\overrideSwitchableControllerActions(), and t3lib_div\trimExplode().
Referenced by overrideConfigurationFromFlexform().
| Tx_Extbase_Configuration_FrontendConfigurationManager::walkFlexformNode | ( | $ | nodeArray, |
| $ | valuePointer = 'vDEF' |
||
| ) | [protected] |
Parses a flexform node recursively and takes care of sections etc
| array | $nodeArray | The flexform node to parse |
| string | $valuePointer | The valuePointer to use for value retrieval |
Definition at line 220 of file FrontendConfigurationManager.php.
Referenced by convertFlexformContentToArray().
1.7.5.1