[TYPO3-mvc] bug? extbase doesn't use getter

Bastian Waidelich bastian at typo3.org
Tue Jun 8 11:17:00 CEST 2010


Dmitri Pisarev wrote:

Hi Dmitri,

> extbase doesn't seem to use getter, but rather
> uses the raw value. Why is that?

Extbase should use Tx_Extbase_Reflection_ObjectAccess::getProperty() to 
retrieve the value of a field.
If following is true, it should work:

1. is_array($yourObject) returns FALSE
2. is_callable(array($yourObject), 'getDatetime')) returns TRUE

Maybe a typo?

Best,
Bastian


-- 
slice up the elephant, baby!


More information about the TYPO3-project-typo3v4mvc mailing list