You are here

function download_file_url in DownloadFile 7

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.2 download_file.module \download_file_url()

Get the URL to download file.

Parameters

$fid: The filefield identifier.

Return value

An string containing the URL to direct download file.

File

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

Code

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