KuoqiPHP v.1.10版本文档
使用说明
命名空间:Kuoqi
对象名称:Cache
对象说明:
方法一览
使用说明
对象名称:Kuoqi\Cache
方法名称: setTemplate
完整调用:public static Kuoqi\Cache::setTemplate( $stream)
方法说明:
参数说明
$stream : []
返回说明
return : [string]
使用说明
对象名称:Kuoqi\Cache
方法名称: getTemplate
完整调用:public static Kuoqi\Cache::getTemplate( $tpid, $args)
方法说明:
参数说明
$tpid : []
$args : []
返回说明
return : [bool] |string
使用说明
对象名称:Kuoqi\Cache
方法名称: setCache
完整调用:public static Kuoqi\Cache::setCache( $name, $code, $exp_time=int, $cpath=string, $isCommon=bool)
方法说明:
参数说明
$name : []
缓存名称
$code : []
缓存的内容
$exp_time : [int]
缓存存活时间
$cpath : [string]
二级文件夹
$isCommon : [bool]
是否公共缓存
返回说明
return : [mixed] |null
使用说明
对象名称:Kuoqi\Cache
方法名称: getCache
完整调用:public static Kuoqi\Cache::getCache( $name, $cpath=string, $isCommon=bool)
方法说明:
参数说明
$name : []
缓存名称
$cpath : [string]
缓存路径
$isCommon : [bool]
是否公共文件夹
返回说明
return : [mixed] |null
使用说明
对象名称:Kuoqi\Cache
方法名称: delCache
完整调用:public static Kuoqi\Cache::delCache( $name, $cpath=string, $isCommon=bool)
方法说明:
参数说明
$name : []
缓存文件名
$cpath : [string]
额外路径信息
$isCommon : [bool]
是否公共文件
返回说明
return : [bool]
返回说明
return : []
幻冰小站提供技术支持