[TYPO3-dev] Xml to Flexform

Sebastiaan van Parijs sebastiaan at framed.nl
Mon Mar 9 12:50:54 CET 2009


Franz Koch wrote:
> Hi
>>> Sebastiaan van Parijs wrote:
>>>> I have been looking for the function that translates the Flexform 
>>>> XML to
>>>>  the Flexform we see at the backend, but i havent been able to find it.
>>>> Does anyone know where to find it or have a function name what would
>>>> help me?
>>>
>>> The question is too broad to answe precizely. Most likely you are 
>>> looking for t3ib/class.t3lib_tceforms.php. This class creates Backend 
>>> forms.
>>>
>>> If you only need to transform a flexform XML to a PHP array, 
>>> t3lib_div::xml2array() is what you need.
>>>
>> Thnx for the quick reply!
>>
>> Ok trying to transform a XML structure, located in a database record, 
>> to a usable Form, something like the FlexForm already does. The specific
>> function im looking for is probably the same as Flexform uses, any ideas?
> 
> as Dmitry already wrote, this is done in t3lib/class.t3lib_tceforms.php 
> - so please have a look there (method getSingleField_typeFlex, around 
> line 2330 in trunk version).
> 
I overlooked that function, thanks alot for the help!





More information about the TYPO3-dev mailing list