protected getDownloadLink ( string $strFile ) : string | ||
$strFile | string | The file that shall be downloaded. |
return | string |
protected function getDownloadLink($strFile)
{
return UrlBuilder::fromUrl(\Environment::get('request'))->setQueryParameter('file', urlencode($strFile))->getUrl();
}