[TYPO3-core] RFC: Moving t3lib_TCEforms_inline::getJSON() to t3lib_div::array2json()

Oliver Hader oh at inpublica.de
Fri May 4 14:33:52 CEST 2007


This is a SVN patch request.

Problem:
The method getJSON($jsonArray) converts an array to a JSON string for
disposal in JavaScript. Currently this method is part of
t3lib_TCEforms_inline what doesn't make much sense if other extensions
want to use it.

Solution:
Move the method from t3lib_TCEforms_inline to t3lib_div.
t3lib_TCEforms_inline::getJSON(...) -> t3lib_div::array2json(...)

Branch: Trunk


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getJSON.patch
Type: text/x-patch
Size: 3333 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070504/4d510192/attachment.bin 


More information about the TYPO3-team-core mailing list