[TYPO3-dev] Xml to Flexform
Sebastiaan van Parijs
sebastiaan at framed.nl
Mon Mar 9 14:23:44 CET 2009
Dmitry Dulepov 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.
>
So i found the function, you where refering to:
$table = 'tx_compiler_element';
$field = 'attributes';
$row = $current_row;
$PA = ???????;
t3lib_tceforms::getSingleField_typeFlex($table,$field,$row,$PA);
So with what do i fill this $PA? Any pointers?
Thnx for the quick responce.
Sebastiaan
More information about the TYPO3-dev
mailing list