Extbase\Utility

Class Tx_Extbase_Utility_TypoScript


public class Tx_Extbase_Utility_TypoScript

Utilities to manage and convert Typoscript Code

Package: Extbase
Subpackage: Utility
Version: $ID:$


Method Summary

 static array convertExtbaseToClassicTS(array $extbaseTS)

Method Detail

convertExtbaseToClassicTS

public static array convertExtbaseToClassicTS(array $extbaseTS)

Returns an array with Typoscript the old way (with dot).

Extbase converts the "classical" TypoScript (with trailing dot) to a format without trailing dot, to be more future-proof and not to have any conflicts with Fluid object accessor syntax.
However, if you want to call legacy TypoScript objects, you somehow need the "old" syntax (because this is what TYPO3 is used to).
With this method, you can convert the extbase TypoScript to classical TYPO3 TypoScript which is understood by the rest of TYPO3.

Parameters

$extbaseTS - An Typoscript Array with Extbase Syntax (without dot but with _typoscriptNodeValue)