[TYPO3-dev] registering method for use in hook?

Thomas Mammitzsch typo at pure.kicks-ass.net
Wed Oct 11 18:18:07 CEST 2006


hi list,

i have a strange problem here. i want to write a method using a hook in
tcemain. now my ext_localconf.php looks like that:

<?php
if (!defined ("TYPO3_MODE")) 	die ("Access denied.");

require_once(t3lib_extMgm::extPath('ux_clearcache').'class.ux_clearcache.php');

$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc'][]
= 'EXT:ux_clearcache/class.ux_clearcache.php:&ux_clearcache->cacheNotify';

?>

after installing my extension, my method call is not in array
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc']
.

any ideas?

regards, Thomas




More information about the TYPO3-dev mailing list