[TYPO3-dev] Call a method after changing a data record

Jigal van Hemert jigal.van.hemert at typo3.org
Wed Jul 17 14:40:12 CEST 2013


Hi,

On 17-7-2013 14:28, Gion Koch wrote:
> I have an extension which has to populate a file with some data. The
> Method or PHP-Script must be called upon creating, updating or deleting
> a record in the Typo3 BE. Is there a clean way to achieve this?
>
> Some facts:
> Typo Version: 4.7.2

t3lib_TCEmain handles the actual processing of records which are edited 
in the backend:
\t3lib_TCEmain::process_datamap : creating, updating
\t3lib_TCEmain::process_cmdmap : (un)deleting, moving, copying, 
localizing, etc.

Both have various hooks to use. Some suggestions:
processCmdmap_postProcess and processDatamap_afterDatabaseOperations are 
called after the database operation is executed.

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list