Свойство | Тип | Описание | |
---|---|---|---|
$_cacheModel |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
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 | ||
Результат | Prado\Caching\ICache | Application cache instance. |
protected getKeyList ( ) : Prado\Collections\TList | ||
Результат | Prado\Collections\TList |
protected getKeyListId ( ) : string | ||
Результат | string | a KeyListID for the cache model. |
public set ( $key, $value, $expire, $dependency = null ) |