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

Oliver Hader oh at inpublica.de
Sat Jul 7 11:10:55 CEST 2007


Hi Michael,

yes, the movement of the getJSON function is ready for being committed.
If t3lib_ajax should also be removed in this step, I have to check
deeper, where this is currently integrated and how it could be changed
easily be e.g. prototype.js.

olly


Michael Stucki schrieb:
> REMINDER. Seems like this is ready for being committed.
> 
> - michael
> 
> Oliver Hader wrote:
> 
>> 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
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-team-core mailing list