![]() |
TYPO3
7.6
|
Public Member Functions | |
injectFlexFormService (\TYPO3\CMS\Extbase\Service\FlexFormService $flexFormService) | |
getTypoScriptSetup () | |
![]() | |
injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager) | |
injectTypoScriptService (\TYPO3\CMS\Extbase\Service\TypoScriptService $typoScriptService) | |
injectEnvironmentService (\TYPO3\CMS\Extbase\Service\EnvironmentService $environmentService) | |
setContentObject (\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer $contentObject=null) | |
getContentObject () | |
setConfiguration (array $configuration=array()) | |
getConfiguration ($extensionName=null, $pluginName=null) | |
getDefaultBackendStoragePid () | |
getTypoScriptSetup () | |
Protected Member Functions | |
getPluginConfiguration ($extensionName, $pluginName=null) | |
getSwitchableControllerActions ($extensionName, $pluginName) | |
getContextSpecificFrameworkConfiguration (array $frameworkConfiguration) | |
overrideStoragePidIfStartingPointIsSet (array $frameworkConfiguration) | |
overrideConfigurationFromPlugin (array $frameworkConfiguration) | |
overrideConfigurationFromFlexForm (array $frameworkConfiguration) | |
mergeConfigurationIntoFrameworkConfiguration (array $frameworkConfiguration, array $configuration, $configurationPartName) | |
overrideSwitchableControllerActionsFromFlexForm (array $frameworkConfiguration, array $flexFormConfiguration) | |
getRecursiveStoragePids ($storagePid, $recursionDepth=0) | |
![]() | |
getExtbaseConfiguration () | |
overrideSwitchableControllerActions (array &$frameworkConfiguration, array $switchableControllerActions) | |
getContextSpecificFrameworkConfiguration (array $frameworkConfiguration) | |
getPluginConfiguration ($extensionName, $pluginName=null) | |
getSwitchableControllerActions ($extensionName, $pluginName) | |
getRecursiveStoragePids ($storagePid, $recursionDepth=0) | |
Protected Attributes | |
$flexFormService | |
![]() | |
$configuration = array() | |
$contentObject | |
$objectManager | |
$typoScriptService | |
$extensionName | |
$pluginName | |
$configurationCache = array() | |
$environmentService | |
Additional Inherited Members | |
![]() | |
const | DEFAULT_BACKEND_STORAGE_PID = 0 |
A general purpose configuration manager used in frontend mode.
Should NOT be singleton, as a new configuration manager is needed per plugin.
Definition at line 22 of file FrontendConfigurationManager.php.
|
protected |
Get context specific framework configuration.
array | $frameworkConfiguration | The framework configuration to modify |
Definition at line 102 of file FrontendConfigurationManager.php.
References FrontendConfigurationManager\overrideConfigurationFromFlexForm(), FrontendConfigurationManager\overrideConfigurationFromPlugin(), and FrontendConfigurationManager\overrideStoragePidIfStartingPointIsSet().
|
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 |
Definition at line 55 of file FrontendConfigurationManager.php.
References AbstractConfigurationManager\$extensionName, AbstractConfigurationManager\$pluginName, and FrontendConfigurationManager\getTypoScriptSetup().
|
protected |
Returns a comma separated list of storagePid that are below a certain storage pid.
string | $storagePid | Storage PID to start at; multiple PIDs possible as comma-separated list |
int | $recursionDepth | Maximum number of levels to search, 0 to disable recursive lookup |
Definition at line 243 of file FrontendConfigurationManager.php.
References AbstractConfigurationManager\getContentObject().
|
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 |
Definition at line 85 of file FrontendConfigurationManager.php.
References AbstractConfigurationManager\$extensionName, $GLOBALS, and AbstractConfigurationManager\$pluginName.
getTypoScriptSetup | ( | ) |
Returns TypoScript Setup array from current Environment.
Definition at line 42 of file FrontendConfigurationManager.php.
References $GLOBALS.
Referenced by FrontendConfigurationManager\getPluginConfiguration(), and FrontendConfigurationManager\overrideConfigurationFromPlugin().
injectFlexFormService | ( | \TYPO3\CMS\Extbase\Service\FlexFormService | $flexFormService | ) |
\TYPO3\CMS\Extbase\Service\FlexFormService | $flexFormService |
Definition at line 32 of file FrontendConfigurationManager.php.
References FrontendConfigurationManager\$flexFormService.
|
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 194 of file FrontendConfigurationManager.php.
Referenced by FrontendConfigurationManager\overrideConfigurationFromFlexForm(), and FrontendConfigurationManager\overrideConfigurationFromPlugin().
|
protected |
Overrides configuration settings from flexForms. This merges the whole flexForm data, and overrides switchable controller actions.
array | $frameworkConfiguration | the framework configuration |
Definition at line 167 of file FrontendConfigurationManager.php.
References FrontendConfigurationManager\mergeConfigurationIntoFrameworkConfiguration(), and FrontendConfigurationManager\overrideSwitchableControllerActionsFromFlexForm().
Referenced by FrontendConfigurationManager\getContextSpecificFrameworkConfiguration().
|
protected |
Overrides configuration settings from the plugin typoscript (plugin.tx_myext_pi1.)
array | $frameworkConfiguration | the framework configuration |
Definition at line 146 of file FrontendConfigurationManager.php.
References FrontendConfigurationManager\getTypoScriptSetup(), and FrontendConfigurationManager\mergeConfigurationIntoFrameworkConfiguration().
Referenced by FrontendConfigurationManager\getContextSpecificFrameworkConfiguration().
|
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 117 of file FrontendConfigurationManager.php.
References $list.
Referenced by FrontendConfigurationManager\getContextSpecificFrameworkConfiguration().
|
protected |
Overrides the switchable controller actions from the flexForm.
array | $frameworkConfiguration | The original framework configuration |
array | $flexFormConfiguration | The full flexForm configuration |
Exception\ParseErrorException |
Definition at line 214 of file FrontendConfigurationManager.php.
References AbstractConfigurationManager\overrideSwitchableControllerActions().
Referenced by FrontendConfigurationManager\overrideConfigurationFromFlexForm().
|
protected |
Definition at line 27 of file FrontendConfigurationManager.php.
Referenced by FrontendConfigurationManager\injectFlexFormService().