[TYPO3-dev] Hook in auth service

Rudy Gnodde rgn at windinternet.nl
Wed Nov 5 15:37:43 CET 2008


Michael Miousse wrote:
>> My second question is: Where is the best place to add things to the hook
>> and what is the best way to do it?
> the rigth place for $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['myextensionkey'
> ['userInfoHooks'] is in localconf. Ext_table is for the configuration of
> items your extension create.
> 
> the require_once you put is useless because if you intend to use a hook from
> extension a, you don't have to load any class from this extension because
> those class should already be loaded. You can't use a hook from extension a
> without having a installed. So if extension a is installed you don't need
> to include any of her class. 
That means you can't use a seperate PHP file (not an extension) to use 
the hook. This isn't a problem. The only reason why I did it like that 
is because it was just a quick test.

Thanks for your reply.

Rudy Gnodde
WIND Internet
http://www.windinternet.nl




More information about the TYPO3-dev mailing list