Project

General

Profile

Actions

Bug #62918

closed

TypoScript userFunc condition does not work with static methods

Added by Oliver Hader over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
TypoScript
Target version:
Start date:
2014-11-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

TypoScript allows to utilize functions (user-functions) to integrate custom condition processing.
However, this currently only works with function defined in the global namespace - it does not work with static methods.

Thus, something like this snipped won't work:
[userFunc = ConditionMatcherUserFunctions::isTrue(1)]

Actions

Also available in: Atom PDF