Cascade Core  v0.12-1-g22cbbeb
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Protected Member Functions | List of all members
JsonConfigAPC Class Reference

JsonConfig with APC cache. More...

Inheritance diagram for JsonConfigAPC:
Inheritance graph

Public Member Functions

 clearCache ()
 Clear cache. More...
 
- Public Member Functions inherited from JsonConfig
 clearCache ()
 Clear cache. More...
 
 load ($name, $force_cache_reload=false)
 Load and compose configuration from config files. More...
 

Protected Member Functions

 fetchFromCache ($key, &$hit)
 Retrieve configuration from cache. More...
 
 addToCache ($key, $value)
 Add configuration to cache. More...
 
- Protected Member Functions inherited from JsonConfig
 fetchFromCache ($key, &$hit)
 Retrieve configuration from cache.
 
 addToCache ($key, $value)
 Add configuration to cache.
 

Additional Inherited Members

- Static Public Member Functions inherited from JsonConfig
static readJson ($filename)
 Read JSON file. More...
 

Detailed Description

JsonConfig with APC cache.

Member Function Documentation

fetchFromCache (   $key,
$hit 
)
protected

Retrieve configuration from cache.

Todo:
Use global caching mechanism
addToCache (   $key,
  $value 
)
protected

Add configuration to cache.

Todo:
Use global caching mechanism
clearCache ( )

Clear cache.

This should be called after deploy.

Implements IConfig.