Re: [Components] CSV export view

2009-01-09 Thread Derick Rethans
On Tue, 6 Jan 2009, Alexandru Stanoi wrote: Philipp Kamps wrote: Here is what I tried so far: class ReportsExportView extends ezcMvcView { function createResponse() { $resultBody = 'csv content'; $result = $this-result; // set

[Components] CSV export view

2009-01-05 Thread Philipp Kamps
Hi, my goal is to allow my users to download a CSV export from my web application. In a pure PHP application I would do following: // We'll be outputting a PDF header('Content-type: text/csv'); // It will be called downloaded.pdf header('Content-Disposition: attachment; filename=export.csv');

Re: [Components] CSV export view

2009-01-05 Thread Alexandru Stanoi
Philipp Kamps wrote: Hi, my goal is to allow my users to download a CSV export from my web application. In a pure PHP application I would do following: |// We'll be outputting a PDF header('Content-type: text/csv'); // It will be called downloaded.pdf header('Content-Disposition: