KuoqiPHP v.1.10版本文档
使用说明
命名空间:Kuoqi
对象名称:Cache
对象说明:
方法一览
使用说明
对象名称:Kuoqi\Cache
方法名称: setTemplate
完整调用: Kuoqi\Cache::setTemplate( $stream)
方法说明:
参数说明
$stream : []
返回说明
return : [string]
使用说明
对象名称:Kuoqi\Cache
方法名称: getTemplate
完整调用: Kuoqi\Cache::getTemplate( $tpid=string, $args=array)
方法说明:
参数说明
$tpid : []
缓存模版的唯一识别ID
$args : []
读取当前模版的携带参数
返回说明
return : [bool] |string 响应读取模版的结果
使用说明
对象名称:Kuoqi\Cache
方法名称: setCache
完整调用: Kuoqi\Cache::setCache( $name=string, $code, $exp_time=int, $cpath=string)
方法说明:
参数说明
$name : []
缓存名称
$code : []
$exp_time : []
缓存存活时间
$cpath : []
二级文件夹
返回说明
return : [mixed] |null
使用说明
对象名称:Kuoqi\Cache
方法名称: getCache
完整调用: Kuoqi\Cache::getCache( $name=string, $cpath=string)
方法说明:
参数说明
$name : []
缓存名称
$cpath : []
缓存路径
返回说明
return : [mixed] |null
使用说明
对象名称:Kuoqi\Cache
方法名称: delCache
完整调用: Kuoqi\Cache::delCache( $name=string, $cpath=string)
方法说明:
参数说明
$name : []
缓存文件名
$cpath : []
额外路径信息
返回说明
return : [bool]
返回说明
return : []
幻冰小站提供技术支持