Skip to main content
7 events
when toggle format what by license comment
Dec 4, 2020 at 17:01 comment added Jason I'm working on a legacy app that uses Zend 1.10. This question came up when I tried to ask this for Zend 1.10, so I'll make a comment here for reference to my future self and others that may come across this, as I could not figure this out anywhere else (even in the Zend docs, which it must be there somewhere). The $this->response pattern was added after Zend 1.10. In Zend 1.10 $this->getResponse() must be called. The full example would be $this->getResponse()->setBody('something'); $this->getResponse()->sendResponse(); exit; Well, some headers must be set somewhere, too.
Feb 28, 2017 at 20:15 history edited Justin Dearing CC BY-SA 3.0
deleted 2 characters in body
Feb 28, 2017 at 17:35 vote accept Justin Dearing
Feb 23, 2017 at 23:10 comment added tasmaniski Hm, yu can check existing Models and Strategy github.com/zendframework/zend-view/tree/master/src Strategy for raw plan text maybe would be a overengineering :) but anyhow interesting...
Feb 23, 2017 at 21:19 comment added Justin Dearing Thanks. Made an edit so the mime type would be set. I was hoping for a more cleaner solutions like a RawTextStrategy, but this will do for now.
Feb 23, 2017 at 21:18 history edited Justin Dearing CC BY-SA 3.0
Added mime type
Feb 23, 2017 at 20:06 history answered tasmaniski CC BY-SA 3.0