Added feature #5530: Hook in TCEmain after all database operations
authorOliver Hader <oliver.hader@typo3.org>
Sat, 24 Nov 2007 21:52:11 +0000 (21:52 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Sat, 24 Nov 2007 21:52:11 +0000 (21:52 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2764 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tcemain.php

index aa223dd..41c980f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2007-11-24  Oliver Hader  <oh@inpublica.de>
 
        * Fixed bug #6817: Files with extension xml are ignored as resource of a template
+       * Added feature #5530: Hook in TCEmain after all database operations
 
 2007-11-24  Benjamin Mack  <mack@xnos.org>
 
index c552680..af762db 100755 (executable)
@@ -924,6 +924,17 @@ class t3lib_TCEmain        {
 
                $this->dbAnalysisStoreExec();
                $this->removeRegisteredFiles();
+
+               /*
+                * Hook: processDatamap_afterAllOperations
+                * 
+                * Note: When this hook gets called, all operations on the submitted data have been finished.
+                */
+               foreach($hookObjectsArr as $hookObj) {
+                       if (method_exists($hookObj, 'processDatamap_afterAllOperations')) {
+                               $hookObj->processDatamap_afterAllOperations($this);
+                       }
+               }
        }
 
        /**