[TYPO3] Convert TS into multidimensional array
Stefan Geith
typo3dev at geithware.de
Fri Jan 20 12:33:06 CET 2006
Elmar Hinz schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Stefan Geith schrieb:
>> I hoped, that anyone would know, how to convert
>> a string, containing TypoScript separated by CR/LF,
>> to an TS-Array ...
>
> Hi Stefan,
>
> then it's really time to read the Core API. A must for a developer.
:) I often read there but it seems, that I always overlooked that...
>
> http://typo3.org/documentation/document-library/doc_core_api/Functions_typically/
>
> $parseObj = t3lib_div::makeInstance('t3lib_TSparser');
> $parseObj->parse($userTS);
> $TSconfig = $parseObj->setup;
Thanks !!
-
Stefan
More information about the TYPO3-english
mailing list