2010年2月3日星期三

Re: [fw-auth] Re: ACL... but completely different

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 <ldean@saleamp.com> 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.


没有评论: