You are here

function download_file_url in DownloadFile 7.2

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

Get the URL to download file.

Parameters

$fid: The file object ID.

Return value

string An string containing the URL to direct download file.

File

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

Code

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