On Wed, 2010-02-03 at 11:36 -0800, Hector Virgen [via Zend Framework
Community] wrote:
> You can access it via the public getHelper() method:
>
>
> // Inside your action helper
> $redirector = $this->getActionController()->getHelper('redirector');
> $redirector->gotoUrlAndExit($url);
>
> --
> Hector
>
>
> On Wed, Feb 3, 2010 at 11:31 AM, Laura Dean <[hidden email]> wrote:
>
>
> Hector Virgen wrote:
> >
> > You can use the redirector helper:
> >
> > $this->_helper->redirector->gotoUrlAndExit($url); //
> redirects immediately
> >
>
>
> I don't think I have access to that from inside an action
> helper, and it is
> protected so I can't access it through the controller either.
>
> --
> View this message in context:
> http://n4.nabble.com/ACL-but-completely-different-tp1299970p1461616.html
>
> Sent from the Zend Auth mailing list archive at Nabble.com.
>
>
>
>
>
>
>
> ______________________________________________________________________
> View message @
> http://n4.nabble.com/ACL-but-completely-different-tp1299970p1461628.html
> To unsubscribe from Re: ACL... but completely different, click here.
>
View this message in context: Re: ACL... but completely different
Sent from the Zend Auth mailing list archive at Nabble.com.
没有评论:
发表评论