huajun qi пишет:
> How can i display another action's view page?
Hi,
at the end of the action you can force to display any template through
render method:
$this->render('any.phtml');
>
> 2009/10/19 Matthew Weier O'Phinney <
[hidden email]
> <mailto:
[hidden email]>>
>
> -- huajun qi <
[hidden email] <mailto:
[hidden email]>> wrote
> (on Monday, 19 October 2009, 11:42 AM +0800):
> > Though I once read an article about it, I can not recall it now?
> >
> > Anybody can tell me?
>
> If you want to disable it for your entire application, you can set the
> noViewRenderer parameter of the front controller to a boolean
> true. This
> can be done in two ways:
>
> // Directly:
> $front->setParam('noViewRenderer', true);
>
> or, using Zend_Application, just pass a key:
>
> resources.frontcontroller.params.noViewRenderer = true
>
> --
> Matthew Weier O'Phinney
> Project Lead |
[hidden email] <mailto:
[hidden email]>
> Zend Framework |
http://framework.zend.com/>
>
>
>
> --
> Location:
--
Thanks,
Yaroslav Vorozhko, Software Engeneer, Consultant
Skype: yarik0083
AIM: yarik0083
ICQ: 148966172
My blog:
http://pro100pro.com