Issue Feature Closed

#20450Use t3lib_div::callUserFunction in typoscript userFunc condition

Fabrizio Branca 05/18/09, 17:07 updated 02/11/15, 09:11

Description

In typoscripts userFunc condition [userFunc = …] it is only allowed to user php functions. No class methods. The parsing (t3lib_matchCondition->evalConditionStr()) should use t3lib_div::callUserFunction() internally for consistency and the possibility to use class methods as a user function. This has been discussed (http://lists.typo3.org/pipermail/typo3-team-core/2006-September/005667.html) but was never commited.
A patch (originally from Wolfgang Klinger’s post) is appended to this ticket.

(issue imported from #M11120)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.