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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Controller  
Subpackage
Router  
Version
$Id$  

\Zend_Controller_Router_Route_Abstract

Package: Zend_Controller\Router
Abstract Route
Implements interface and provides convenience methods
Implements
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-2014 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

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
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
methodpublicsetMatchedPath(string $path) : void

Set partially matched path

Parameters
NameTypeDescription
$pathstring
Documentation was generated by phpDocumentor 2.2.0 .