[Typo3-dev] hooks in extensions

Kasper Skårhøj kasper at typo3.com
Tue May 25 23:14:21 CEST 2004


It's not a bad way. But you can also use
TYPO3_CONF_VARS[EXTCONF][extension_key_here][...]


On Sat, 2004-05-22 at 00:52, Martin T. Kutschker wrote:
> Hi!
> 
> What is the right way to create/name a hook for other extensions?
> 
> For the Core this looks like this:
> 
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc']
> $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['tslib_fe-PostProc']
> 
> Ist this the right approach?
> 
> $TYPO3_CONF_VARS[?]['ext/EXT_KEY/PATH/class.tx_CLASS.php']['HOOK']
> 
> Masi
> 
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
-- 
God bless

- kasper

------

"To succeed in life, you need two things: ignorance and confidence." -
Mark Twain.






More information about the TYPO3-dev mailing list