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

Michael Stucki michael at typo3.org
Fri Sep 7 17:22:07 CEST 2007


Hi Oliver,

> Committed to SVN Trunk (rev. 2478).
> (the attached file was committed)

I think we should not add files on the first directory level of
typo3/contrib/. If we wrap all external scripts in subdirectories, we can
easily add a README file, some custom patches, etc.

Can you move it, please?

- michael

> Oliver Hader schrieb:
>> 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

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list