Thursday, April 7, 2011

get url in Zend Controller

Zend Forums • View topic - get url in Zend Controller:

"To get the full url from controller you can do this :

$fullUrl = $this->getRequest()->getHttpHost() . $this->view->url();"

0 评论:

Post a Comment