eZPublishCommunityProject(LegacyStack)  2013.6
ezpRestVersionedRoute Class Reference

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

+ Inheritance diagram for ezpRestVersionedRoute:
+ Collaboration diagram for ezpRestVersionedRoute:

Public Member Functions

 __construct (ezcMvcRoute $route, $version)
 
 generateUrl (array $arguments=null)
 Generates an URL back out of a route, including possible arguments. More...
 
 matches (ezcMvcRequest $request)
 
 prefix ($prefix)
 Adds a prefix to the route. More...
 

Protected Attributes

 $route
 
 $version
 

Detailed Description

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

Constructor & Destructor Documentation

ezpRestVersionedRoute::__construct ( ezcMvcRoute  $route,
  $version 
)

Member Function Documentation

ezpRestVersionedRoute::generateUrl ( array  $arguments = null)

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

Parameters
array$arguments
ezpRestVersionedRoute::matches ( ezcMvcRequest  $request)
ezpRestVersionedRoute::prefix (   $prefix)

Adds a prefix to the route.

Parameters
mixed$prefixPrefix to add, for example: '/blog'
Returns
void

Member Data Documentation

ezpRestVersionedRoute::$route
protected

Referenced by __construct().

ezpRestVersionedRoute::$version
protected

Referenced by __construct().


The documentation for this class was generated from the following file: