[Typo3-dev] processDatamap hook

Kraft Bernhard kraftb at kraftb.at
Fri Apr 22 01:23:35 CEST 2005


Josef Peterhans wrote:
> there are pre and postProcessFieldArray. how about
> postWrite, a callback for when the db action has been
> done?
> 
> then we'd also have the id for an insert
> (auto_increment). 

	// Hook: processDatamap_afterDatabaseOperations
foreach($hookObjectsArr as $hookObj)   {
	if (method_exists($hookObj, 'processDatamap_afterDatabaseOperations')) {
		$hookObj->processDatamap_afterDatabaseOperations($status, $table, $id, $fieldArray, $this);
	}
}

at least it's in 3.8


greets,
Bernhard




More information about the TYPO3-dev mailing list