[TYPO3-core] RFC 17532: Add support for file pointers in t3lib_befunc->getFlexFormDS

Rens Admiraal renst3 at rensnel.nl
Wed Feb 9 23:54:06 CET 2011


Hi,

This is a SVN patch request.

Type: Feature

BT reference: http://bugs.typo3.org/view.php?id=17532

Branches: 4_5

Problem:
Currently t3lib_befunc->getFlexFormDS only supports passing a 
filepointer as reference to the datastructure, or passing a reference to 
another table (like tx_templavoila_datastructure:dataprot). In the case 
of a reference to another table the DS XML has to be stored in the 
table. Currently it's not possible to store a reference to a file in 
this second table. Which is a problem if you want to store XML in the 
filesystem.

Solution:
Check if the datastructure value in the reference table starts with 
FILE:, and handle it as being a filepointer if this condition is 
matched. Otherwise just handle it as XML (default behaviour).


Greetz,
Rens

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17532_v1.diff
Type: text/x-diff
Size: 1108 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110209/53fada7f/attachment.diff>


More information about the TYPO3-team-core mailing list