/**
  * Initializes the configuration manager and the Extbase settings
  *
  * @param $configuration The current incoming configuration
  * @return void
  */
 protected function initializeConfigurationManagerAndFrameworkConfiguration($configuration)
 {
     if (TYPO3_MODE === 'FE') {
         self::$configurationManager = t3lib_div::makeInstance('Tx_Extbase_Configuration_FrontendConfigurationManager');
         self::$configurationManager->setContentObject($this->cObj);
     } else {
         self::$configurationManager = t3lib_div::makeInstance('Tx_Extbase_Configuration_BackendConfigurationManager');
     }
     self::$extbaseFrameworkConfiguration = self::$configurationManager->getFrameworkConfiguration($configuration);
 }
Beispiel #2
0
 /**
  * Injects the Configuration Manager
  *
  * @param Tx_Extbase_Configuration_ConfigurationManagerInterface An instance of the Configuration Manager
  * @return void
  */
 public function injectConfigurationManager(Tx_Extbase_Configuration_ConfigurationManagerInterface $configurationManager)
 {
     self::$configurationManager = $configurationManager;
 }