List of all members.
Static Public Member Functions |
| static | reportsTo (ICacheProvider $cache) |
| static | set ($key, $value, $duration=0, $use_distributed=false) |
| static | get ($key, $use_distributed=false) |
| static | delete ($key, $use_distributed=false) |
| static | clear ($use_distributed=false) |
Static Protected Attributes |
| static | $reportsTo |
| static | $inMemory = array() |
| static | $distributed = false |
Member Function Documentation
Clear all values from the cache.
| static Cache::delete |
( |
$ |
key, |
|
|
$ |
use_distributed = false |
|
) |
| [static] |
Remove a key value pair from cache.
- Parameters:
-
| static Cache::get |
( |
$ |
key, |
|
|
$ |
use_distributed = false |
|
) |
| [static] |
Fetch a value from cache.
- Parameters:
-
- Returns:
- mixed
Push a cache provider onto the providers stack. Most expensive providers should be pushed first.
- Parameters:
-
| static Cache::set |
( |
$ |
key, |
|
|
$ |
value, |
|
|
$ |
duration = 0, |
|
|
$ |
use_distributed = false |
|
) |
| [static] |
Set a cache value.
- Parameters:
-
| string | $key | |
| mixed | $value | |
| int | $duration | |
Member Data Documentation
Cache::$distributed = false [static, protected] |
Cache::$inMemory = array() [static, protected] |
The documentation for this class was generated from the following file: