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

Show: inherited
Table of Contents

File containing ezpMvcRailsRoute 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  

\ezpMvcRailsRoute

Package: kernel

File containing ezpMvcRailsRoute class

Parent(s)
\ezcMvcRailsRoute
Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Properties

Propertyprotectedstring|null  $protocol= ''

Holds protocol string.

Details
Type
string | null

Methods

methodpublic__construct( string $pattern, string $controllerClassName, string $action = null, array $defaultValues = array(), null | string $protocol = null ) : void

Constructs a new ezpMvcRailsRoute with $pattern for $protocol.

Accepted protocol format: http-get, http-post, http-put, http-delete

Parameters
Name Type Description
$pattern string
$controllerClassName string
$action string
$defaultValues array
$protocol null | string

Match specific protocol if string value, eg: 'http-get'

Details
See
\ezcMvcHttpRequestParser::processProtocol();  
methodpublicmatches( \ezcMvcRequest $request ) : \ezcMvcRoutingInformation | null

Evaluates the URI against this route and protocol.

Parameters
Name Type Description
$request \ezcMvcRequest
Returns
Type Description
\ezcMvcRoutingInformation | null
Documentation was generated by DocBlox 0.18.1.