[TYPO3-dev] Logging database modifications
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Tue Jun 26 15:04:54 CEST 2007
Robert John de Stigter schrieb:
> I found the function $BE_USER->writelog, but this doesn't seem to be
> what I'm looking for. Is there a function to write changes so the
> history of the record will be logged?
>
>> Hi list,
>>
>> Is it possible to write changes to the database (in your
>> extension) in a nice TYPO3 way so that these modifications
>> are logged and available in the record history for rollback?
I'd look in TCEmain which requires also a BE user.
If you're in FE I think you can create a BE user object and pass it on to
TCEmain. It will then use this object instead of the (in the FE non
existing) global BE_USER object.
Masi
More information about the TYPO3-dev
mailing list