eZPublishCommunityProject(LegacyStack)  2013.9
ezpRestRouter Class Reference
+ 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...
 

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: