缓存服务
[ 查看开发文档 ] [ 类树图: Cache ] [ 索引: Cache ] [ 所有元素 ] [ 首页 ]

Class: Sqlite

源文件路径: /Service/Cache/Drivers/Sqlite.class.php

Class Overview

Cache
   |
   --Sqlite

Sqlite缓存驱动


Methods


Inherited Variables

Inherited Methods


Class Details

[line 12]
Sqlite缓存驱动


[ Top ]


Method Detail

__construct (Constructor)   [line 19]

Sqlite __construct( [array $options = array()])

架构函数
  • Access: public

Parameters:

array   $options   —  缓存参数

[ Top ]

clear   [line 108]

boolean clear( )

清除缓存
  • Access: public

[ Top ]

get   [line 45]

mixed get( string $name)

读取缓存
  • Access: public

Parameters:

string   $name   —  缓存变量名

[ Top ]

rm   [line 96]

boolean rm( string $name)

删除缓存
  • Access: public

Parameters:

string   $name   —  缓存变量名

[ Top ]

set   [line 68]

boolean set( string $name, mixed $value, [integer $expire = null])

写入缓存
  • Access: public

Parameters:

string   $name   —  缓存变量名
mixed   $value   —  存储数据
integer   $expire   —  有效时间(秒)

[ Top ]


Powered by Steeze. author email: spring.wind2006@163.com