[TYPO3-dev] tslib_fe-contentStr-hook

Dmitry Dulepov dmitry at typo3.org
Sat Oct 18 09:20:19 CEST 2008


Hi!

Steffen Kamper wrote:
> i have an idea for a more simple solution: pass the content to the hook 
> as second param, then in the hook everything could be done with it, 
> small change but all freedom for content manipulation.

This will be a new hook. Existing hooks are static in what they return or get. It is safe to add a parameter to an array but not safe to make hook return something. There can be extensions, who use this hook and do not return anything.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/iphone_as_productivity_tool/




More information about the TYPO3-dev mailing list