Plugin Link/Path/URL Function showFileLink()

public final function showFileLink(
$requests = ''
)

Description

This generates a link to your showFile() method.

Where You Can Use It

Can be used from within any method. From Zenario 7.0.0 onwards.

Parameters

$requests

Any GET requests you wish to make. Should be in the format:

request1=value&request2=value

Return Value

A URL to call your showFile() method with the provided requests.

Example

$this->mergeFields['Download_Link'] = $this->showFileLink('fileId=42');
<a href="<!--Download_link-->"><!--_DOWNLOAD--></a>