Bug #36784
closedt3lib_div::callUserFunction should support closures
100%
Description
In some cases (e.g. within the TCA) it would ve very handy to use closures for the userFuncs.
Updated by Tolleiv Nietsch over 12 years ago
- Subject changed from t3lib_div::UserFuncs should support closures to t3lib_div::callUserFunction should support closures
Updated by Gerrit Code Review over 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10941
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10941
Updated by Tolleiv Nietsch over 12 years ago
Just realized that TCA is a bad example as this won't work when "extCache" is enabled - PHP won't be able to serialize the Closure and therefore break. But I think this is still a nice feature in some other places (which I can't think of at the moment).
Updated by Gerrit Code Review about 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10941
Updated by Gerrit Code Review about 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10941
Updated by Tolleiv Nietsch about 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e20b4af0b66f6a6c2be8e0076feba3dfc67dff66.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed