How to add “Download file” link in Drupal 7 files attachment when chosen table formatter By default Drupal 7 output attached files: file name and size of attachment
I heed to add an additional column with Download link to every attached file.

In my template.php i have added:

// Override attachments files in case of use table formatter
function bkisk_file_formatter_table($variables) {
$header = array(t('Attachment'), t('Download'), t('Size')); // added Download column
$rows = array();
    foreach ($variables['items'] as $delta =&gt; $item) {
        $rows[] = array(
            theme('file_link', array('file' =&gt; (object) $item)),           
            theme('file_link', array('file' =&gt; (object) $item)), // ???
            format_size($item['filesize']),
        );
    }    
    return empty($rows) ? '' : theme('table', array('header' =&gt; $header, 'rows' =&gt; $rows));
}

function bkisk_file_link($variables) {
    $file = $variables['file'];
    $icon_directory = $variables['icon_directory'];

    $url = file_create_url($file-&gt;uri);
    $icon = theme('file_icon', array('file' =&gt; $file, 'icon_directory' =&gt; $icon_directory));

    // Set options as per anchor format described at
    $options = array(
        'attributes' =&gt; array(
            'type' =&gt; $file-&gt;filemime . '; length=' . $file-&gt;filesize,
        ),
    );

    // Use the description as the link text if available.
    if (empty($file-&gt;description)) {
        $link_text = $file-&gt;filename;
    }
    else {
        $link_text = $file-&gt;description;
        $options['attributes']['title'] = 'откроется в новой вкладке';
        $options['attributes']['target'] = '_blank'; // add _blank param
    }
    return '&lt;span class="file"&gt;' . $icon . ' ' . l($link_text, $url, $options) . '&lt;/span&gt;';
}


i have http://i.stack.imgur.com/W76kW.png

i need to do like this http://i.stack.imgur.com/cmKMj.png

ill be very appreciated for your help!
use File Force Download module to add download functionality to your site. It has field formatter, views integration, good api and etc..

If you want to create a download link programmatically then you can generate download link such way: 

l('Linktext', file_force_create_url($image['filepath']), array('query' =&gt; array('download' =&gt; '1'))).