kernel/private/rest/classes/routes/rails.php
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
Parameters
Details
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
Methods


__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
Name | Type | Description |
---|---|---|
$pattern | string | |
$controllerClassName | string | |
$action | string | |
$defaultValues | array | |
$protocol | null | string | Match specific protocol if string value, eg: 'http-get' |
- See
- \ezcMvcHttpRequestParser::processProtocol();