[editing your code]
Render returns the content of the template, but the layout is always shown,
even if I don't ouput anything from the controller.
If I echo out the contents of the template, then these contents are
correctly inserted into the layout.
But I want to capture the whole layout, including its content.
It seems like templates are an output buffer layer (nested buffering), which
isn't affected by disableOutputBuffering.
--
View this message in context: http://www.nabble.com/howto%3A-capture-action-output%2C-stream-it-as-pdf-tp24496539p24497006.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论