Zend Framework  1.12
Public Member Functions | List of all members
Zend_View_Helper_Url Class Reference

Public Member Functions

 url (array $urlOptions=array(), $name=null, $reset=false, $encode=true)
 Generates an url given the name of a route.
 
- Public Member Functions inherited from Zend_View_Helper_Abstract
 setView (Zend_View_Interface $view)
 Set the View object.
 
 direct ()
 Strategy pattern: currently unutilized.
 

Additional Inherited Members

- Public Attributes inherited from Zend_View_Helper_Abstract
 $view = null
 

Member Function Documentation

url ( array  $urlOptions = array(),
  $name = null,
  $reset = false,
  $encode = true 
)

Generates an url given the name of a route.

public

Parameters
array$urlOptionsOptions passed to the assemble method of the Route object.
mixed$nameThe name of a Route to use. If null it will use the current Route
bool$resetWhether or not to reset the route defaults with those provided
Returns
string Url for the link href attribute.