Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

allow custom filename not only for download, but also for show function #18

Merged
merged 1 commit into from
Oct 15, 2013

Conversation

sidneywidmer
Copy link
Contributor

Why not allow a custom filename for the show function? I know, basically it's just

PDF::load($view, 'A4', 'landscape')->download('filename', array('compress' => 1, 'Attachment' => 0));

vs

PDF::load($view, 'A4', 'landscape')->show('filename');

but I think for the sake of readability this should be added.

thujohn added a commit that referenced this pull request Oct 15, 2013
allow custom filename not only for download, but also for show function
@thujohn thujohn merged commit fd617bd into thujohn:master Oct 15, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants