Project

General

Profile

Actions

Bug #36784

closed

t3lib_div::callUserFunction should support closures

Added by Tolleiv Nietsch about 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2012-05-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In some cases (e.g. within the TCA) it would ve very handy to use closures for the userFuncs.

Actions #1

Updated by Tolleiv Nietsch about 12 years ago

  • Subject changed from t3lib_div::UserFuncs should support closures to t3lib_div::callUserFunction should support closures
Actions #2

Updated by Gerrit Code Review about 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

Actions #3

Updated by Gerrit Code Review about 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

Actions #4

Updated by Tolleiv Nietsch almost 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).

Actions #5

Updated by Gerrit Code Review almost 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

Actions #6

Updated by Gerrit Code Review almost 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

Actions #7

Updated by Tolleiv Nietsch almost 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF