2008年11月25日星期二

Re: [fw-mvc] Disabling layout for a redirect call

If by redirecting you mean forwarding, I believe when you call $this->_forward() or actionstack, it doesn't display the layout for each action.
If you were redirecting (like 301 or 302), then why would you want to disable the layout?

On Tue, Nov 25, 2008 at 5:42 PM, barry hembree <gbhembree@comcast.net> wrote:

Hi All,

I have a particular controller/action that should use the existing layout
most of the time. There are instances (like when I am redirecting from a
different controller/action) when I would like to disable the layout. What
is the best way to do this?

Thanks for your help,

Barry


--
View this message in context: http://www.nabble.com/Disabling-layout-for-a-redirect-call-tp20691107p20691107.html
Sent from the Zend MVC mailing list archive at Nabble.com.


没有评论: