-- Robert Castley <[EMAIL PROTECTED]> wrote
(on Tuesday, 08 July 2008, 12:13 PM +0100):
> Quick question (I hope!)
>  
> How does one get the current url in a controller.
>  
> I can get the baseUrl via  $this->getRequest()->getBaseUrl();
>  
> But I would like to get the complete url e.g.  /baseUrl/view/param1/param2

$this->getRequest()->getRequestUri()

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to