[TYPO3-mvc] Howto make a redirect from a php-view?
Joerg Schoppet
joerg at schoppet.de
Mon Oct 12 22:47:57 CEST 2009
Hi Sebastian,
Sebastian Kurfürst schrieb:
> I'd let the View not save the PDF, but return it as a byte stream.
>
> Then you could do the following inside your controller:
>
> ....
> $pdfData = $this->view->render();
> file_put_contents(..., $pdfData);
>
> $this->redirect('index');
this works like a charm. Thanks a lot.
Sometimes I don't see the wood for the trees.
Joerg
More information about the TYPO3-project-typo3v4mvc
mailing list