/**
 * Returns an sql DELETE query
 *
 * @access   public
 * @static
 *
 * @param    String      $table              the table
 * @param    String      $where              where clause
 * @param    String      $smartQuotes        wrap Strings in quotes?
 * @param    String      $addon              inserted at the end
 * @param    String      $statementAddon     inserted after the DELETE keyword
 *
 * @returns  String      sql query
 */
 function delete($table, $where = '', $smartQuotes = true, $addon = '', $statementAddon = '')
 {
     $str = 'DELETE %s FROM %s %s %s';
     $query = sprintf($str, $statementAddon, $table, QueryHelper::_where($where, $smartQuotes, ' AND '), $addon);
     return $query;
 }