[TYPO3-core] RFC: Bug #7096: Consistent interface for AJAX calls in the TYPO3 Backend
Benjamin Mack
mack at xnos.org
Fri Jan 11 11:32:20 CET 2008
Hey Francois,
Francois Suter wrote:
> Indeed it's quite ok to get the variables with _GP, but then what use
> have you planned for $params?
the problem is that I call the function through
t3lib_div::callUserFunction which needs an array and an object to pass
through, therefore this is standardized and cannot be changed (easily),
so we have another array. of course I'd rather have only the ajaxObj as
one single param. If you have a good idea on how to remove this array,
lemme know...
> On the other hand, it could be nice to have the variables passed in the
> AJAX call available as an array in a way similar to piVars for the FE
> plugins. Just an idea.
Yep. I'm sure once we use the interface we will find some nice use cases :)
--
greetings,
benni.
-SDG-
www.xnos.de // www.xnos.org
More information about the TYPO3-team-core
mailing list