\ThinkCache

缓存管理类

Summary

Methods
Properties
Constants
connect()
getInstance()
__get()
__set()
__unset()
setOptions()
getOptions()
__call()
No public properties found
No constants found
queue()
$handler
$options
N/A
No private methods found
No private properties found
N/A

Properties

$handler

$handler : string

操作句柄

Type

string

$options

$options : integer

缓存连接参数

Type

integer

Methods

connect()

connect(string  $type = '', array  $options = array()) : object

连接缓存

Parameters

string $type

缓存类型

array $options

配置数组

Returns

object

getInstance()

getInstance(  $type = '',   $options = array()) : mixed

取得缓存类实例

Parameters

$type
$options

Returns

mixed

__get()

__get(  $name) 

Parameters

$name

__set()

__set(  $name,   $value) 

Parameters

$name
$value

__unset()

__unset(  $name) 

Parameters

$name

setOptions()

setOptions(  $name,   $value) 

Parameters

$name
$value

getOptions()

getOptions(  $name) 

Parameters

$name

__call()

__call(  $method,   $args) 

Parameters

$method
$args

queue()

queue(  $key) 

Parameters

$key