[TYPO3-dev] Xml to Flexform
    Franz Koch 
    typo.removeformessage at fx-graefix.de
       
    Mon Mar  9 11:53:45 CET 2009
    
    
  
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).
-- 
kind regards,
Franz Koch
---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------
    
    
More information about the TYPO3-dev
mailing list