[TYPO3-core] t3lib_BEfunc::getProcessedValue hook fixes

Dmitry Dulepov dmitry at typo3.org
Fri Nov 17 13:01:09 CET 2006


Hi!

Martin Kutschker wrote:
> Proposal:
> 
> Add the $fieldName to all calls. Additionally make it mandatory in 4.1 
> (so extensions have to play the game correctly).

Same as before: modifying existing hook is a bad idea because makes 
existing extensions incompatible. If we preserve default value, it is 
better.

> Another problem is the purpose (and history) of the hook. The inline 
> comment states that is shall allow the changing of a DS with Typoscript. 
> But for this the hook is misplaced. getFlexFormDS() is not only called 
> by TCEforms, but by TCEmain, transferdata and even the import/export 
> extension.

So, inline doc is wrong...

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-team-core mailing list