[TYPO3-dev] Delete records with TCEmain class

Michael Sollmann msollmann at artec-berlin.com
Thu Feb 23 11:51:16 CET 2006


Hello,

I have a question about how to delete records in the backend. I use the 
class t3lib_TCEmain as described at 
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/current/view/3/3/, 
but nothing happened. The record is neither deleted nor the 'deleted' field 
in the db is set to 1. What can be the reason?


$cmd[$tablename][$uid]['delete'] = 1;

$tce = t3lib_div::makeInstance('t3lib_TCEmain');
$tce->stripslashes_values=0;
$tce->start(array(),$cmd);
$tce->process_cmdmap();

Thank you!





More information about the TYPO3-dev mailing list