/**
  * mergeTypoScript2FlexForm Test
  *
  * @param array $settings
  * @param string $level
  * @param array $expectedResult
  * @dataProvider mergeTypoScript2FlexFormReturnsVoidDataProvider
  * @return void
  * @test
  */
 public function mergeTypoScript2FlexFormReturnsVoid($settings, $level, $expectedResult)
 {
     ConfigurationUtility::mergeTypoScript2FlexForm($settings, $level);
     $this->assertSame($expectedResult, $settings);
 }
Пример #2
0
 /**
  * Initializes this object
  *
  * @return void
  */
 public function initializeObject()
 {
     $this->contentObject = $this->configurationManager->getContentObject();
     $typoScriptSetup = $this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT);
     $this->conf = $typoScriptSetup['plugin.']['tx_powermail.']['settings.']['setup.'];
     ConfigurationUtility::mergeTypoScript2FlexForm($this->settings);
     $this->signalSlotDispatcher->dispatch(__CLASS__, __FUNCTION__ . 'Settings', [$this]);
     if ($this->settings['debug']['settings']) {
         GeneralUtility::devLog('Settings', $this->extensionName, 0, $this->settings);
     }
 }
Пример #3
0
 /**
  * Object initialization
  *
  * @return void
  */
 public function initializeObject()
 {
     ConfigurationUtility::mergeTypoScript2FlexForm($this->settings, 'Pi2');
 }