API Documentation

Controller/Router/Route/Abstract.php

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.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Controller  
subpackage
Router  
version
$Id: Abstract.php 24182 2011-07-03 13:43:05Z adamlundrigan $  

\Zend_Controller_Router_Route_Abstract

Abstract Route

Implements interface and provides convenience methods

Implements
\Zend_Controller_Router_Route_Interface
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Controller  
subpackage
Router  

Constants

Constant  URI_DELIMITER = '/'

URI delimiter

Properties

Propertyprotectedboolean  $_isAbstract= 'false'

Wether this route is abstract or not

Default valuefalseDetails
Type
boolean
Propertyprotectedstring  $_matchedPath= 'null'

Path matched by this route

Default valuenullDetails
Type
string

Methods

methodpublicassemble(  $data = array,  $reset = false,  $encode = false ) : void
Parameters
Name Type Description
$data
$reset
$encode
methodpublicchain( \Zend_Controller_Router_Route_Abstract $route, string $separator = / ) : \Zend_Controller_Router_Route_Chain

Create a new chain

Parameters
Name Type Description
$route \Zend_Controller_Router_Route_Abstract
$separator string
Returns
Type Description
\Zend_Controller_Router_Route_Chain
methodpublicgetInstance(  $config ) : void
Parameters
Name Type Description
$config
methodpublicgetMatchedPath( ) : string

Get partially matched path

Returns
Type Description
string
methodpublicgetVersion( ) : integer

Get the version of the route

Returns
Type Description
integer
methodpublicisAbstract( boolean $flag = null ) : boolean

Check or set wether this is an abstract route or not

Parameters
Name Type Description
$flag boolean
Returns
Type Description
boolean
methodpublicmatch(  $path ) : void
Parameters
Name Type Description
$path
methodpublicsetMatchedPath( string $path ) : void

Set partially matched path

Parameters
Name Type Description
$path string
Documentation was generated by DocBlox 0.13.3.