[TYPO3-core] t3lib_BEfunc::getProcessedValue hook fixes

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Nov 15 16:51:37 CET 2006


Karsten Dambekalns schrieb:
> Hi.
> 
> On 13.11.2006, at 10:28, Martin Kutschker wrote:
> 
>> Hm. I'll have a look and see if I really want that. Changing  parameters
>> like "table" seems highly dubious.
> 
> 
> Definitely. The hook is for processing values, so it should not allow  
> (much) more than that. Otherwiese you might change stuff in a way  that 
> modifies the system behaviour in the middle of a request. Who  want's to 
> debug the bug reports for those cases? ;)
> 
>> Well, the API requires an object. But if the functions is static it  
>> should
>> of course be a dummy var.
> 
> 
> Just pass null, I'd say.

The parameter is a reference so you need a dummy var of any type.

Masi



More information about the TYPO3-team-core mailing list