[TYPO3] Convert TS into multidimensional array

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Fri Jan 20 12:21:31 CET 2006


-----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.

http://typo3.org/documentation/document-library/doc_core_api/Functions_typically/

    $parseObj = t3lib_div::makeInstance('t3lib_TSparser');
    $parseObj->parse($userTS);
    $TSconfig = $parseObj->setup;

Regards

Elmar


- --
Climate change 2006 is killing people: floods in California, drought and fires
in Australia, Texas, Sahel, Oklahoma, South Africa. The Bush administration is
responsible for corruption of the Kyoto Protocol. The US majority is responsible
to the world for reelection of a convictable [...censored by Echelon...].
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD0Me7O976RNoy/18RAtEqAKC0ImlSditcipkmqOTr5vCsKPnsbgCeOT6i
0hEh8KjGisodrByZ3ofCSiY=
=43t5
-----END PGP SIGNATURE-----



More information about the TYPO3-english mailing list