예제 #1
0
 /**
  * Returns the complete, global TypoScript array
  * defined in TYPO3.
  *
  * @return array
  */
 public function getAllTypoScript()
 {
     $pageId = $this->configurationManager->getCurrentPageId();
     if (FALSE === isset(self::$typoScript[$pageId])) {
         self::$typoScript[$pageId] = (array) $this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT);
         self::$typoScript[$pageId] = GeneralUtility::removeDotsFromTS(self::$typoScript[$pageId]);
     }
     return (array) self::$typoScript[$pageId];
 }