[TYPO3-dev] Condition userFunc takes only one parameter, any reason for that?

Matthias Stübner cimst at web.de
Tue Sep 22 12:25:46 CEST 2009


Am Tue, 22 Sep 2009 11:48:32 +0200 schrieb Dmitry Dulepov:

> I see two possible solutions (both require a simple patch):
> - do not split arguments at all
> - pass a complete $funcValue array as an additional parameter to the userFunc (more compatible)

The technical solution is clear, but I would like to prevent to patch the
core, and to repeat it with any new version. I expected a reason why the
proposal from Sept. 2006 didn't make it into the core.

Actually I use | as parameter separator, and by that get all values into
the function where I split them, but it is still not clear to me why the
"userFunc" in core specifically hands over only $funcValue[0]. No reason,
just for fun?

br Matthias




More information about the TYPO3-dev mailing list