kernel/private/rest/classes/routes/versioned_route.php

Show: inherited
Table of Contents

File containing the ezpRestVersionedRoute class

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\ezpRestVersionedRoute

Package: Default

Route wrapping around existing instance of ezcMvcRoute providing multiple versions of it.

Parent(s)
?\ezcMvcRoute\ezcMvcReversibleRoute

Properties

Propertyprotected\ezcMvcRoute  $route= ''

Contained route implementing ezcMvcRoute interface
Details
Type
\ezcMvcRoute
Propertyprotectedint  $version= ''

The version number
Details
Type
int

Methods

methodpublic__construct(  $route,  $version ) : void

Parameters
Name Type Description
$route
$version
methodpublicgenerateUrl( array $arguments = null ) : void

Generates an URL back out of a route, including possible arguments

Parameters
Name Type Description
$arguments array
methodpublicmatches(  $request ) : void

Parameters
Name Type Description
$request
methodpublicprefix( mixed $prefix ) : void

Adds a prefix to the route.

Parameters
Name Type Description
$prefix mixed

Prefix to add, for example: '/blog'

Documentation was generated by DocBlox 0.18.1.