[TYPO3-dev] call hook when creating a mm table record

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Aug 5 14:38:04 CEST 2008


Brian Bendtsen wrote:
> Im trying to use a hook to manipulate some database tables when creating 
> or deleting a mm record. Like this:
> 
> function processDatamap_afterDatabaseOperations($status, $table, $id, 
> &$fieldArray, &$tcemain) {
>      if (($status=='new') && $table=='my_mm_table') {
>      
> t3lib_div::devlog('processDatamap_afterDatabaseOperations','wk_league',0,array('test')); 
> 
>      }

It is update in a different place and not visible inside this hook.

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




More information about the TYPO3-dev mailing list