/** * Clears the complete table. */ public function truncate() { $table = $this->getDummyModel()->getTableName(); tx_rnbase::load('tx_mklib_util_DB'); return tx_mklib_util_DB::doQuery('TRUNCATE TABLE ' . $table); }