public function processDatamap_afterDatabaseOperations($status, $table, $id, $fields, $dh)
    {
        if ($table === $this->table) {
            $uid = $this->getUid($status, $id, $dh);

            if ($status === 'new') {
                $this->created($uid, $fields);
            } else {
                $this->updated($uid, $fields);
            }

            $this->saved($uid, $fields);
        }
    }
public function processDatamap_afterDatabaseOperations($status, $table, $id, $fields, $dh)
    {
        if ($table === $this->table) {
            $uid = $this->getUid($status, $id, $dh);

            if ($status === 'new') {
                $this->created($uid, $fields);
            } else {
                $this->updated($uid, $fields);
            }

            $this->saved($uid, $fields);
        }
    }
public function processDatamap_afterDatabaseOperations ( $ status , $ table , $ id , $ fields , $ dh ) { if ( $ table === $ this -> table ) { $ uid = $ this -> getUid ( $ status , $ id , $ dh ) ; if ( $ status === 'new' ) { $ this -> created ( $ uid , $ fields ) ; } else { $ this -> updated ( $ uid , $ fields ) ; } $ this -> saved ( $ uid , $ fields ) ; } }
TYPO3 post-save hook.

@param  string  $status  'new' for new entities, 'update' for existing entities
@param  string  $table  Database table name being saved
@param  string|int  $id  UID or New ID of entity being saved
@param  array  $fields  Array of fields being updated
@param  \TYPO3\CMS\Core\DataHandling\DataHandler  $dh  Class that triggered hook
@return  void
TYPO3 post - save hook .