On Apr 16, 7:37 am, Melanie Sommer <[email protected]> wrote: > > Because the View class uses output buffering. Have a look at MediaView > > instead: > > Thank you; but I am afraid I did not figure out how this helps me > > MediaView Summary: > "Methods to display or download any type of file" > > I do not want to display or download a file as there exists no file. > The content that I want to display as plain/text (perhaps offer a > download dialog, but not necessarily) is created at runtime and needs > a lot of methods from helpers, so I would like to create the output in > the view and not create a file from the controller. > > In the class info are a lot of properties and methods that relate to > views, so I think MediaView is able to do what I want, but I have no > idea how to implement it. > > Could someone give me another hint?
I just wrote a quick PlaintextHelper (3 minutes!) based on the CsvHelper I'm already using. Check it out here: http://pastebin.com/u46cWX7T Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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
