Actions
Task #47159
closedCurrently it isn't possible to pass multiple params to user functions within typoscript conditions. Why?
Start date:
2013-04-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.4
Tags:
Complexity:
easy
Sprint Focus:
Description
Currrently you can use user functions for typoscript conditions and pass one parameter to your created functions. If you have more than parameter, you must create a workaround and use an delimiter other than comma an split it up in your userfunctions to separate them.
But there is no reason to that.
TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher line 405 following split up the function params into an array, but pass only the first param to your function? Why.
Is there a fundamental reason, why we should/could not do that?
Actions