Property | Type | Description | |
---|---|---|---|
$_cache | |||
$_cacheModel | |||
$_cacheSize | |||
$_keyList |
Method | Description | |
---|---|---|
__construct ( $cacheModel = null ) | Create a new cache with limited cache size. | |
add ( $id, $value, $expire, $dependency = null ) | ||
delete ( $key ) : object | ||
flush ( ) | Clears the cache. | |
getCacheSize ( ) : integer | ||
setCacheSize ( $value ) | Maximum number of items to cache. Default size is 100. |
public __construct ( $cacheModel = null ) |
public setCacheSize ( $value ) |