public function processCmdmap_deleteAction($table, $id, $fields, &$cancel, $dh)
    {
        if ($table === $this->table) {
            if (($res = $this->deleting($id, $fields)) !== null) {
                $cancel = !$res;
            }
        }
    }
public function processCmdmap_deleteAction($table, $id, $fields, &$cancel, $dh)
    {
        if ($table === $this->table) {
            if (($res = $this->deleting($id, $fields)) !== null) {
                $cancel = !$res;
            }
        }
    }
public function processCmdmap_deleteAction ( $ table , $ id , $ fields , & $ cancel , $ dh ) { if ( $ table === $ this -> table ) { if ( ( $ res = $ this -> deleting ( $ id , $ fields ) ) !== null ) { $ cancel = ! $ res ; } } }
TYPO3 pre-delete hook.

@param  string  $table  Table name
@param  int  $id  UID of entity being delete
@param  array  $fields  Array of record fields
@param  boolean  $cancel  Whether or not to cancel deletion
@param  \TYPO3\CMS\Core\DataHandling\DataHandler  $dh  Class that triggered hook
@return  void
TYPO3 pre - delete hook .