Project

General

Profile

Actions

Bug #67337

closed

hasProperty and isProperty not working on 7.3?

Added by Tobias Braumann almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Must have
Category:
Fluid
Target version:
Start date:
2015-06-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

According to TYPO3 CMS 7.1 - What's New and to the Ticket #56529 it should be possible to use hasProperty and isProperty inside Fluid without adding a get the object method. But i didn't get it to work.

Is it bug or was it remove again?

My code looks like this:
@
class Collector implements CollectorInterface {
....
public function hasConfiguration() {
return true;
}

public function isTest() {
return true;
}
....
}
@
I created an instance of Collector with the objectManager.

In fluid it looks like this:

<f:debug>{collector.isTest}</f:debug>
<f:debug>{collector.hasConfiguration}</f:debug>

always get null, with get at the beginning of the methods it still works fine

Actions

Also available in: Atom PDF