public function deleteRecord($type, $conditions = array(), $addSql = NULL, $bindings = array())
{
$addSql = $this->glueSQLCondition($addSql);
$table = $this->esc($type);
$sql = $this->makeSQLFromConditions($conditions, $bindings, $addSql);
$sql = "DELETE FROM {$table} {$sql}";
$this->adapter->exec($sql, $bindings);
}