TYPO3 API  SVNRelease
Public Member Functions | Protected Member Functions | Protected Attributes
Tx_Extbase_Configuration_BackendConfigurationManager Class Reference
Inheritance diagram for Tx_Extbase_Configuration_BackendConfigurationManager:
Inheritance graph
[legend]
Collaboration diagram for Tx_Extbase_Configuration_BackendConfigurationManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 getTypoScriptSetup ()

Protected Member Functions

 getPluginConfiguration ($extensionName, $pluginName)
 getSwitchableControllerActions ($extensionName, $pluginName)
 getCurrentPageId ()
 getContextSpecificFrameworkConfiguration (array $frameworkConfiguration)

Protected Attributes

 $typoScriptSetupCache = NULL

Detailed Description

Definition at line 32 of file BackendConfigurationManager.php.


Member Function Documentation

Tx_Extbase_Configuration_BackendConfigurationManager::getContextSpecificFrameworkConfiguration ( array $  frameworkConfiguration) [protected]

We need to set some default request handler if the framework configuration could not be loaded; to make sure Extbase also works in Backend modules in all contexts.

Returns:
array

Reimplemented from Tx_Extbase_Configuration_AbstractConfigurationManager.

Definition at line 137 of file BackendConfigurationManager.php.

Tx_Extbase_Configuration_BackendConfigurationManager::getCurrentPageId ( ) [protected]

Returns the page uid of the current page. If no page is selected, we'll return the uid of the first root page.

Returns:
integer current page id. If no page is selected current root page id is returned

Definition at line 108 of file BackendConfigurationManager.php.

References $GLOBALS, t3lib_div\_GP(), and Tx_Extbase_Configuration_AbstractConfigurationManager\DEFAULT_BACKEND_STORAGE_PID.

Referenced by getTypoScriptSetup().

Tx_Extbase_Configuration_BackendConfigurationManager::getPluginConfiguration ( extensionName,
pluginName 
) [protected]

Returns the TypoScript configuration found in module.tx_yourextension_yourmodule merged with the global configuration of your extension from module.tx_yourextension

Parameters:
string$extensionName
string$pluginNamein BE mode this is actually the module signature. But we're using it just like the plugin name in FE
Returns:
array

Reimplemented from Tx_Extbase_Configuration_AbstractConfigurationManager.

Definition at line 70 of file BackendConfigurationManager.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_BackendConfigurationManager::getSwitchableControllerActions ( extensionName,
pluginName 
) [protected]

Returns the configured controller/action pairs of the specified module in the format array( 'Controller1' => array('action1', 'action2'), 'Controller2' => array('action3', 'action4') )

Parameters:
string$extensionName
string$pluginNamein BE mode this is actually the module signature. But we're using it just like the plugin name in FE
Returns:
array

Reimplemented from Tx_Extbase_Configuration_AbstractConfigurationManager.

Definition at line 94 of file BackendConfigurationManager.php.

References Tx_Extbase_Configuration_AbstractConfigurationManager\$extensionName, $GLOBALS, and Tx_Extbase_Configuration_AbstractConfigurationManager\$pluginName.

Tx_Extbase_Configuration_BackendConfigurationManager::getTypoScriptSetup ( )

Returns TypoScript Setup array from current Environment.

Returns:
array the raw TypoScript setup

Reimplemented from Tx_Extbase_Configuration_AbstractConfigurationManager.

Definition at line 44 of file BackendConfigurationManager.php.

References getCurrentPageId(), and t3lib_div\makeInstance().

Referenced by getPluginConfiguration().


Member Data Documentation

Tx_Extbase_Configuration_BackendConfigurationManager::$typoScriptSetupCache = NULL [protected]

Definition at line 37 of file BackendConfigurationManager.php.


The documentation for this class was generated from the following file: