function download_file_url in DownloadFile 6
Same name and namespace in other branches
- 7.3 download_file.module \download_file_url()
- 7 download_file.module \download_file_url()
- 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.
4 calls to download_file_url()
- theme_download_file_insert_direct_download_icon_item in ./
download_file.inc - Theme function for the 'direct_download_icon' file via the Insert module.
- theme_download_file_insert_direct_download_icon_item_accessible in ./
download_file.inc - Theme function for the 'direct_download_accessible_icon' file via the Insert module.
- theme_download_file_insert_direct_download_item in ./
download_file.inc - Theme function for the 'direct_download' file via the Insert module.
- theme_download_file_insert_direct_download_item_accessible in ./
download_file.inc - Theme function for the 'direct_download_accessible' file via the Insert module.
File
- ./
download_file.module, line 220 - Module to direct download files or images.
Code
function download_file_url($fid) {
return url('download/file/fid/' . $fid);
}