分类缓存变量表

调用方式

global $CACHE;

$user_cache = $CACHE->readCache('sort');

可用变量 1为分类id

$sort_cache[1]['lognum'] 该分类文章数

$sort_cache[1]['sortname'] 该分类名称

$sort_cache[1]['description'] 分类描述

$sort_cache[1]['alias'] 分类别名

$sort_cache[1]['sid'] 分类id

$sort_cache[1]['taxis'] 排序

$sort_cache[1]['pid'] 父分类id

$sort_cache[1]['template'] 分类模版

$sort_cache[1]['children'] 子分类

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容