Class \Prado\Data\SqlMap\DataMapper\TSqlMapApplicationCache
TSqlMapApplicationCache uses the default Prado application cache for
caching SqlMap results.
Class hierarchy
Author: Wei Zhuo <weizho[at]gmail[dot]com>Since: 3.1
public
|
__construct([TSqlMapCacheModel $cacheModel = null ]) : mixed
Create a new cache with limited cache size.
|
public
|
add(mixed $id, mixed $value[, mixed $expire = 0 ][, null|mixed $dependency = null ]) : bool
Stores a value identified by a key into cache if the cache does not contain this key.
|
public
|
|
public
|
|
public
|
|
public
|
set(string $key, mixed $value[, mixed $expire = 0 ][, null|mixed $dependency = null ]) : bool
Stores a value identified by a key into cache.
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|