[TYPO3-mvc] Hook after all database operations on publish?
David Greiner
davidgreiner at gmx.net
Fri Jan 16 17:51:49 CET 2015
Hi!
Whats about processDatamap_afterAllOperations?
For more hooks take dive into the corresponding class.
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/core/Classes/DataHandling/DataHandler.php
David Greiner
-----------------------------------------
TYPO3-Freelancer
Certified TYPO3 Integrator
hallo at davidgreiner.de
www.davidgreiner.de
Am 16.01.2015 16:24 schrieb Mohamed Rebai <momed.rebai at gmail.com>:
>
> In my website we use a lot the workspace module. What i'm trying to do is, when publishing a record (it's an event actually), i write the new content of the record in a file.
>
> To do that, i use this hook :
>
> function processCmdmap_postProcess($command, $table, $id, $value, &$reference) {
>
> The problem is, for the date (Datetime object in the model) and photo (FileReference object in the model) i always obtain the old value in the hook, but for the other fields (text and varchar fields) i obtain the new value. To get the record i use findByUid ...
>
> Is there any hook executed after all database operations when publishing a record ?
>
> Thanks a lot
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list