kernel/private/rest/classes/router.php

Show: inherited
Table of Contents

File containing rest router

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  

\ezpRestRouter

Package: kernel

File containing rest router

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

Constants

Constant  ROUTE_CACHE_ID = 'ezpRestRouteApcCache'

Properties

Propertypublicbool  $isRouteCacheCreated= 'false'
static

Flag to indicate if APC route cache has already been created

Default valuefalseDetails
Type
bool

Methods

methodpubliccreateRoutes( ) : void

(non-PHPdoc)

Details
See
\lib/ezc/MvcTools/src/ezcMvcRouter::createRoutes()  
methodprotecteddoCreateRoutes( ) : array

Do create the REST routes

Returns
Type Description
array The route objects
methodprotectedgetCachedRoutes( ) : array

Extract REST routes from APC cache.

Cache is generated if needed

Returns
Type Description
array The route objects
Documentation was generated by DocBlox 0.18.1.