[TYPO3-dev] Is there a hook for FE DB updates

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Oct 1 14:28:01 CEST 2007


ries van Twisk schrieb:
> 
> On Oct 1, 2007, at 2:42 AM, Martin Kutschker wrote:
> 
>> Bill Stoltz schrieb:
>>> Since I want this to work for every extension, now and in the future, I
>>> wonder could I create an XCLASS for t3lib_DB and the create a wrapper
>>> for exec_UPDATEquery, exec_DELETEquery and exec_INSERTquery functions to
>>> see if I want to track these updates?
>>
>> No, as there is also TYPO3_DB->sql_query and of course there is still
>> mysql_query around.
>>
>> Masi
>>
> 
> Can you go around it and make a Stored Procedure?

What? I mean the PHP function mysql_query() which some old extensions still 
use.

But as for TYPO3_DB->sql_query: you can XLASS this function as well and 
parse the query and find out which tables are affected.

Masi




More information about the TYPO3-dev mailing list