Zend URL

29.Jun.2010

To build URL with Zend Framework, you should use:

echo $this->url(array $urlOptions = array(), $name = null, $reset = false, $encode = true);

so, in order to use Zend URL, use following:

echo $this->url(array('module' => 'moduleName', 'controller' => 'controllerName', 'action' => 'actionName'), null, true);