Helper for making easy links and getting urls that depend on the routes and router

package Zend_View
subpackage Helper
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_View_Helper_Abstract

 Methods

Strategy pattern: currently unutilized

direct() : void
Inherited
inherited_from \Zend_View_Helper_Interface::direct()

Set the View object

setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
Inherited
inherited_from \Zend_View_Helper_Interface::setView()

Parameters

$view

\Zend_View_Interface

Returns

\Zend_View_Helper_Abstract

Generates an url given the name of a route.

url(array $urlOptions = array(), mixed $name = null, boolean $reset = false, $encode = true) : string
access public

Parameters

$urlOptions

array

Options passed to the assemble method of the Route object.

$name

mixed

The name of a Route to use. If null it will use the current Route

$reset

boolean

Whether or not to reset the route defaults with those provided

$encode

Returns

stringUrl for the link href attribute.

 Properties

 

View object

$view : \Zend_View_Interface

Default

null