Property | Type | Description | |
---|---|---|---|
$_cacheModel |
Method | Description | |
---|---|---|
__construct ( $cacheModel = null ) | Create a new cache with limited cache size. | |
add ( $id, $value, $expire, $dependency = null ) | ||
delete ( $key ) | ||
flush ( ) | Deletes all items in the cache, only for data cached by sqlmap cachemodel | |
get ( $key ) : mixed | ||
set ( $key, $value, $expire, $dependency = null ) | Stores a value identified by a key into cache. |
Method | Description | |
---|---|---|
getCache ( ) : Prado\Caching\ICache | ||
getKeyList ( ) : Prado\Collections\TList | Retreive keylist from cache or create it if it doesn't exists | |
getKeyListId ( ) : string | ||
setKeyList ( $keyList ) |
public __construct ( $cacheModel = null ) |
public flush ( ) |
protected getCache ( ) : Prado\Caching\ICache | ||
return | Prado\Caching\ICache | Application cache instance. |
protected getKeyList ( ) : Prado\Collections\TList | ||
return | Prado\Collections\TList |
protected getKeyListId ( ) : string | ||
return | string | a KeyListID for the cache model. |
public set ( $key, $value, $expire, $dependency = null ) |