eZPublish  4.5
ezpRestRouter Class Reference

File containing rest router. More...

+ Inheritance diagram for ezpRestRouter:
+ Collaboration diagram for ezpRestRouter:

Public Member Functions

 createRoutes ()
 (non-PHPdoc) More...
 

Public Attributes

const ROUTE_CACHE_ID = 'ezpRestRouteApcCache'
 
const ROUTE_CACHE_KEY = 'ezpRestRouteApcCacheKey'
 
const ROUTE_CACHE_PATH = 'restRouteAPC'
 

Static Public Attributes

static $isRouteCacheCreated = false
 

Protected Member Functions

 doCreateRoutes ()
 Do create the REST routes. More...
 
 getCachedRoutes ()
 Extract REST routes from APC cache. More...
 

Detailed Description

File containing rest router.

Member Function Documentation

ezpRestRouter::createRoutes ( )

(non-PHPdoc)

See Also
lib/ezc/MvcTools/src/ezcMvcRouter::createRoutes()
ezpRestRouter::doCreateRoutes ( )
protected

Do create the REST routes.

Returns
array The route objects

Referenced by createRoutes(), and getCachedRoutes().

ezpRestRouter::getCachedRoutes ( )
protected

Extract REST routes from APC cache.

Cache is generated if needed

Returns
array The route objects

Referenced by createRoutes().

Member Data Documentation

ezpRestRouter::$isRouteCacheCreated = false
static
const ezpRestRouter::ROUTE_CACHE_ID = 'ezpRestRouteApcCache'
const ezpRestRouter::ROUTE_CACHE_KEY = 'ezpRestRouteApcCacheKey'
const ezpRestRouter::ROUTE_CACHE_PATH = 'restRouteAPC'

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