[TYPO3-dev] how to hook into tcemain within core files
Martin Kutschker
masi-no at spam-typo3.org
Mon Feb 8 13:47:17 CET 2010
Dmitry Dulepov schrieb:
>>
>> Now my question: Some lines code which you can also get from the last
>> comment inside the bugtracker entry resolve this problem but I don't
>> know how to include those lines within the core. Is there an example how
>> to use afterDatabaseOperations inside the core as I don't can bind this
>> to a specific sysext like beuser or belog
>
> Core should not hook in my opinion. Instead, a new check inside TCEmain
> should be created.
I don't see a problem for the Core or sysexts to use the hooks. It doesn't make sense for all hooks,
but IMHO using TCEmain hooks for tracking changes to specifc tables is a an example where I think
using the hooks is justified.
Masi
More information about the TYPO3-dev
mailing list