Class BeObjectCache
BeObjectCache class
Class to read/write object data using Cake Cache
Located at libs/be_object_cache.php
Methods summary
public
|
|
private
string
|
|
private
string
|
|
private
string
|
|
public
boolean
|
|
public
integer
|
|
public
boolean
|
#
writeNicknameId( string $nickname, integer $id )
Writes $nickname => $id key-value pair in object cache |
public
boolean
|
|
public
boolean
|
#
isCacheable( integer $id, array $options )
Return true if the object |
public
array|false
|
|
public
boolean
|
|
public
|
|
public
array|null
|
#
readPathCache( integer $id, array $statuses = array(), integer $publicationId = null )
Read path cache for an object. |
public
boolean
|
#
writePathCache( integer $id, array $path, array $statuses = array(), integer $publicationId = null )
Write path cache for an object. |
public
boolean
|
#
deletePathCache( integer $id, array $descendants )
Delete path cache for an object and all its descendants. |
Properties summary
private
string|null
|
$baseCachePath
Base path for objects cache on filesystem. |
#
null
|
private
array
|
$cacheConfig
Default cache config. |
#
array(
'engine' => 'File',
'prefix' => '',
'duration' => '+24 hours'
)
|
private
array
|
$blacklistOptions
Blacklist option items on which avoid to create cache. |
#
array('user_created', 'user_modified')
|