[TYPO3-dev] call hook when creating a mm table record
Brian Bendtsen
bb at bellevuevej.dk
Tue Aug 5 14:52:59 CEST 2008
Dmitry Dulepov [typo3] skrev:
> 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.
>
Thought so, is there another hook I can use to do something when a mm
table record is created?
/Brian
More information about the TYPO3-dev
mailing list