Bug #36784
closed
t3lib_div::callUserFunction should support closures
Added by Tolleiv Nietsch over 12 years ago.
Updated about 7 years ago.
Description
In some cases (e.g. within the TCA) it would ve very handy to use closures for the userFuncs.
- Subject changed from t3lib_div::UserFuncs should support closures to t3lib_div::callUserFunction should support closures
- Status changed from Accepted to Under Review
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).
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF