API Documentation

Controller/Action/Helper/Url.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Controller
subpackage
Zend_Controller_Action_Helper
version
$Id: Url.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Controller_Action_Helper_Url

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Controller_Action_Helper_Url

Extends from
Zend_Controller_Action_Helper_Abstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Controller
subpackage
Zend_Controller_Action_Helper
uses
Zend_Controller_Action_Helper_Abstract
Methods
simple
url
direct

Description

Helper for creating URLs for redirects and other tasks

Methods

direct

direct( string $action, string $controller = null, string $module = null, array $params = null ) : string

Perform helper when called as $this->_helper->url() from an action controller

Proxies to {@link simple()}

Arguments
$action
string
$controller
string
$module
string
$params
array
Output
string
Details
visibility
public
final
false
static
false

simple

simple( string $action, string $controller = null, string $module = null, array $params = null ) : string

Create URL based on default route

Arguments
$action
string
$controller
string
$module
string
$params
array
Output
string
Details
visibility
public
final
false
static
false

url

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

Assembles a URL based on a given route

This method will typically be used for more complex operations, as it ties into the route objects registered with the router.

Arguments
$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
$encode
boolean
Output
string
Url for the link href attribute.
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.