Download a file.
public downloadFile ( $fileId, $revision = null, $inline = false, $filename = null ) : boolean | ||
$fileId | int the file id of the file to download | |
$revision | int the revision of the file to download | |
$inline | boolean print file as inline instead of attachment, optional | |
$filename | string The client-side download filename (optional) | |
return | boolean |