Zend Framework url redirect?

Either use Zend_Controller_Action_HelperBroker to get the redirect helper or do the redirect directly from the Request object.

Either use Zend_Controller_Action_HelperBroker to get the redirect helper or do the redirect directly from the Request object. See the examples given in stackoverflow.com/questions/2357732/redi....

Maybe I am going crazy... but that link is the URL for this very page... – Urda Mar 12 '10 at 15:06 @Urda Doh! Updated :) – Gordon Mar 12 '10 at 15:52.

Redirector = $this->_helper->getHelper('Redirector'); } public function myAction() { /* Some Awesome Code */ $this->redirector('targetAction', 'targetController'); return; //Never reached! } } You need to get the redirector helper, then you can define the targetAction and targetController with the redirector. That should do it.

In your code you can use $this->_redirect but If you look at my code you will see that I'm wrting an Asset Plugin Controller. – Uffo Mar 12 '10 at 14:06 Uffo you still need to get the helper regardless. You can also use $this->_redirector->gotoUrl('/my-controller/my-action/param1/test/param2/test2'); – Urda Mar 12 '10 at 14:53 I don't get it, why I have to create a controller in order to use an helper, I want to use that helper in my plugin, not in my controller.

– Uffo Mar 12 '10 at 15:22 The controller was the example I gave, the method is identical for other purposes. Just go read the Framework manual at this point. – Urda Mar 12 '10 at 17:23.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions