How to create a View Inline link?

Permalink
I need help building this link like how the content block does. I just add the _inline to force adobe to view in the browser, but would like to create it in code for a block.
[code]
href="/index.php/download_file/view_inline/21/"
[/code}

I can get the getDownloadURL() and getURL() links but cant find the "view" metheod.

-Frank

wizardontherun
 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.