[TYPO3-dev] problems in many extensions

Tapio Markula tapio.markula at xetpoint.fi
Mon Jul 9 15:58:33 CEST 2007


Steffen Kamper kirjoitti:
> Thanks ries,
> i didn't described it very well.
> Absolutely right, never use  function xyz($this) ...
> 
> vg  Steffen
> 
> "ries van Twisk" <typo3 at rvt.dds.nl> schrieb im Newsbeitrag 
> news:mailman.4993.1183986895.29892.typo3-dev at lists.netfielders.de...
>> Hey steffen,
>>
>> I have read about that indeed, But I am a php4/php5..x1 user still :)
>>
>> Just to clarify and from what I understood:
>>
>> You cannot declare a function like this anymore:
>>
>> function xyz($this) {
>> ......
>> }

but $hookObj = functionCall($this);

still works?

What about

function functionCall(&$this)

as reference to used $this?

that would be nice in hooks.




More information about the TYPO3-dev mailing list