Controller/Router/Route/Abstract.php

Show: PublicProtectedPrivateinherited
Table of Contents
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Controller  
Subpackage
Router  
Version
$Id: Abstract.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Controller_Router_Route_Abstract

Package: Zend\Controller\Router
Abstract Route

Implements interface and provides convenience methods

Implements
\Zend_Controller_Router_Route_Interface
Children
\Zend_Controller_Router_Route
\Zend_Controller_Router_Route_Chain
\Zend_Controller_Router_Route_Hostname
\Zend_Controller_Router_Route_Static
\Zend_Controller_Router_Route_Regex
\Zend_Controller_Router_Route_Module
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

>VConstant  URI_DELIMITER = '/'
URI delimiter

Properties

>VPropertyprotectedboolean $_isAbstract = false
Wether this route is abstract or not
Default valuefalseDetails
Type
boolean
>VPropertyprotectedstring $_matchedPath = null
Path matched by this route
Default valuenullDetails
Type
string

Methods

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

Create a new chain

Parameters
NameTypeDescription
$route\Zend_Controller_Router_Route_Abstract
$separatorstring
Returns
TypeDescription
\Zend_Controller_Router_Route_Chain
methodpublicgetInstance( $config) : void
Parameters
NameTypeDescription
$config
methodpublicgetMatchedPath() : string

Get partially matched path

Returns
TypeDescription
string
methodpublicgetVersion() : integer

Get the version of the route

Returns
TypeDescription
integer
methodpublicisAbstract(boolean $flag = null) : boolean

Check or set wether this is an abstract route or not

Parameters
NameTypeDescription
$flagboolean
Returns
TypeDescription
boolean
methodpublicmatch( $path) : void
Parameters
NameTypeDescription
$path
methodpublicsetMatchedPath(string $path) : void

Set partially matched path

Parameters
NameTypeDescription
$pathstring
Documentation was generated by phpDocumentor 2.0.0a12.