You are here

function download_file_path in DownloadFile 7

Same name and namespace in other branches
  1. 6 download_file.module \download_file_path()
  2. 7.3 download_file.module \download_file_path()
  3. 7.2 download_file.module \download_file_path()

Get the path to download file.

Parameters

$fid: The filefield identifier.

Return value

An string containing the path to direct download file.

4 calls to download_file_path()
theme_download_file_direct_download_icon_item in ./download_file.formatter.inc
Theme function for the 'direct_download_icon' multiple file formatter.
theme_download_file_direct_download_icon_item_accessible in ./download_file.formatter.inc
Theme function for the 'direct_download_accessible_icon' multiple file formatter.
theme_download_file_direct_download_item in ./download_file.formatter.inc
Theme function for the 'direct_download' multiple file formatter.
theme_download_file_direct_download_item_accessible in ./download_file.formatter.inc
Theme function for the 'direct_download_accessible' multiple file formatter.

File

./download_file.module, line 175
Module to direct download files or images.

Code

function download_file_path($fid) {
  return 'download/file/fid/' . $fid;
}