View Single Post
  #2 (permalink)  
Old 07-18-2008, 02:35 PM
greboguru's Avatar
greboguru greboguru is offline
Junior Member
 
Join Date: Feb 2008
Location: UK
Posts: 16
Default

OK, so I found the solution the helper takes additional parameters

from the zend ref guide ...

Quote:
url (line 48)

Generates an url given the name of a route.

* return: Url for the link href attribute.
* access: public

string url ([ $urlOptions = array()], [mixed $name = null], [bool $reset = false], [ $encode = true])

* array $urlOptions: Options passed to the assemble method of the Route object.
* mixed $name: The name of a Route to use. If null it will use the current Route
* bool $reset: Whether or not to reset the route defaults with those provided
* $encode
Why does the default, add the parameters to all URLS generated by this helper?

Thanks
Reply With Quote