Matthew Weier O'Phinney-3 wrote:
> 
> 
> Use the redirector instead of constructing the URL yourself:
> 
>     $this->_helper->redirector('project');
> 
> This will do the same as what you were trying to accomplish before.
> -- 
> Matthew Weier O'Phinney
> 
> 

Matt,

  Thanks for the promp reply!

  Does the redirector act like the URL constructor? My URL looks like this:

  /base/application/report/customer/33/project/12/report/99/

Doing this:
  $this->_helper->redirector('report')

takes me to:
  /base/application/report/

How do you suggest I build and pass the URL above to the redirector? At the
moment I do a lot of: 

'/base/application/report/customer/'. $this->_getParam( 'customer' ) .'/'.
$this->_getParam( 'project' ) .'/report/'. $this->_getParam( 'report' )

which makes me feel icky :-(

  Many thanks :-)

monk.e.boy ::  http://teethgrinder.co.uk/open-flash-chart/ open flash chart 
-- 
View this message in context: 
http://www.nabble.com/Redirect-Question-tp18337080p18340730.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to