-- Peter Pistorius <peter gtmt.co.za> wrote
(on Monday, 23 April 2007, 01:14 PM +0000):
> I've been stuck in a previous projects that use the
older versions,
> but now I'm using 0.9.2 and can't seem to echo from my
> controllers::actions().
>
> I tested this theory by using a header location to http://google.com
> instead of an echo 'I come here'; and it worked. Is the
ZFW using some
> kind of output buffer?
>
> It also only seem to have this behavior when I'm using
> :module:controller:action?
The dispatcher wraps calls to controller actions using
output buffering,
and appends any content in the buffer to the response
object. When the
response is finally sent, it should return any echo'd
content.
--
Matthew Weier O'Phinney
PHP Developer | matthew zend.com
Zend - The PHP Company | http://www.zend.com/
|