CleanFile::AbsoluteDownloadLink
Returns a absolute download link like: http://domain.com/URLSegment/download/ClassName/ID
To make this to work you need to implement a "download" function in the Reference's controller. This can be achieved by using DownloadExtension.
Signature
public function AbsoluteDownloadLink()
Returns
- string