No subject


Thu Nov 5 11:13:25 CET 2009


Or there is no way to do it ?

Thanx =A1

2009/11/19 Jochen Rau <jochen.rau at typoplanet.de>

> Hi El=EDas.
>
>
> El=EDas Fern=E1ndez wrote:
>
>> Hello list,
>> I=B4m trying to parse the typoscript object that i=B4ve had in my persis=
tence
>> configuration:
>>
>> ["storagePid"]=3D>  array(2) { ["field"]=3D>  string(3) "uid"
>> ["_typoScriptNodeValue"]=3D>  string(4) "TEXT" }
>>
>> But i really don=B4t know where i must call a method to proccess this
>> typoscript.
>>
>> Can i extend the Tx_Extbase_Configuration_FrontendConfigurationManager i=
n
>> my
>> own extension ?
>>
>
> That will not work ATM because we have no Dependecy Injection. We plan to
> implement DI in TYPO3 4.4.
>
> There are two static methods available to parse TypoScript Settings
>
>
> Tx_Extbase_Utility_TypoScript::convertPlainArrayToTypoScriptArray($plainA=
rray)
> Tx_Extbase_Utility_TypoScript::convertTypoScriptArrayToPlainArray($tsArra=
y)
>
> BTW The "strange" format of the plain array (_typoScriptNodeValue) is
> necessary for fluid to work.
>
> Regards
> Jochen
>
>
> --
> Every nit picked is a bug fixed
>
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>



--=20
El=EDas Fern=E1ndez Vel=E1zquez


More information about the TYPO3-project-typo3v4mvc mailing list