[TYPO3-mvc] Use Hooks from extbase

Robert Böttner lists at boettner.it
Thu Aug 5 14:23:44 CEST 2010


Hi Stefano,

I am using hooks from sr_feuserregister and registered them in ext_localconf.php like anytime:

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['tx_srfeuserregister_pi1']['registrationProcess'][] = 'EXT:lal_appfactory/Classes/Hooks/class.tx_lalappfactory_hooksHandler.php:&tx_lalappfactory_hooksHandler';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['tx_srfeuserregister_pi1']['confirmRegistrationClass'][] = 'EXT:lal_appfactory/Classes/Hooks/class.tx_lalappfactory_hooksHandler.php:&tx_lalappfactory_hooksHandler';

Everything follows the old conventions and Classes/Hooks is maybe the most logical location for the hook class.

Cheers
Robert.


Am 05.08.2010 um 14:17 schrieb Stefano Kowalke:

> Hey,
> 
> I need to call a hook from my extension.
> Do I have register it in the old fashion way through localconf.php and
> where should I save the class which implements the hook?
> 
> Greetz,
> Stefano
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list