TRUNCATE TABLE mytable
// EMPTY OLD TABLE $modx->removeCollection('Categories');
$modx->exec("TRUNCATE TABLE {$modx->getTableName('MyClass')}");