Properties

$db

$db : 

Type

$instance

$instance : 

Type

$options_cache

$options_cache : 

Type

$user_cache

$user_cache : 

Type

$sta_cache

$sta_cache : 

Type

$comment_cache

$comment_cache : 

Type

$tags_cache

$tags_cache : 

Type

$sort_cache

$sort_cache : 

Type

$link_cache

$link_cache : 

Type

$sortlink_cache

$sortlink_cache : 

Type

$navi_cache

$navi_cache : 

Type

$newlog_cache

$newlog_cache : 

Type

$newtw_cache

$newtw_cache : 

Type

$record_cache

$record_cache : 

Type

$logtags_cache

$logtags_cache : 

Type

$logsort_cache

$logsort_cache : 

Type

$logalias_cache

$logalias_cache : 

Type

Methods

getInstance()

getInstance() : \Cache

静态方法,返回数据库连接实例

Returns

\Cache

updateCache()

updateCache(\array/string  $cacheMethodName = null) : \unknown_type

更新缓存

Parameters

\array/string $cacheMethodName

需要更新的缓存,更新多个采用数组方式:array('options', 'user'),单个采用字符串方式:'options',全部则留空

Returns

\unknown_type

cacheWrite()

cacheWrite(  $cacheData,   $cacheName) 

写入缓存

Parameters

$cacheData
$cacheName

readCache()

readCache(  $cacheName) 

读取缓存文件

Parameters

$cacheName

__construct()

__construct() 

mc_options()

mc_options() 

站点配置缓存 注意更新缓存的方法必须为mc开头

mc_user()

mc_user() 

用户信息缓存

mc_sta()

mc_sta() 

站点统计缓存

mc_comment()

mc_comment() 

最新评论缓存

mc_tags()

mc_tags() 

侧边栏标签缓存

mc_sort()

mc_sort() 

侧边栏分类缓存

mc_link()

mc_link() 

友情链接缓存

mc_sortlink()

mc_sortlink() 

友情链接分类缓存

mc_navi()

mc_navi() 

导航缓存

mc_newlog()

mc_newlog() 

最新文章

mc_newtw()

mc_newtw() 

最新微语

mc_record()

mc_record() 

文章归档缓存

mc_logtags()

mc_logtags() 

文章标签缓存

mc_logsort()

mc_logsort() 

文章分类缓存

mc_logalias()

mc_logalias() 

文章别名缓存