in Controller code, a call to $this->render() returns the content of
the view
HTH

On 22 oct, 15:49, "Liebermann, Anja Carolin"
<[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> I make good progress with my xml-export.
> Since I expect the output to become very big, I would like to write the
> resulting view rather to the harddisk to download later than show it on
> the screen.
>
> Now my questions:
> In my controller I have an function which could write strings in a file.
> But my strings are composed in my view!
>
> What is the best approach to stay in the MVC world?
>
> Call the write function form the view? Or transfer all foreach logic to
> the controller? If I do the second what do I do with strings I have put
> in elements?
>
> If I want to avoid an overflow in my RAM do I have to flush something in
> between?
>
> Thank you for your opinion and any hints!
>
> Anja
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to