Class CacheApc

Description

Apc缓存类

Located in /Think/Util/Cache/CacheApc.class.php (line 24)

Base
   |
   --Cache
      |
      --CacheApc
Method Summary
CacheApc __construct ([ $options = ''])
boolen clear ()
mixed get (string $name)
boolen rm (string $name)
boolen set (string $name, mixed $value, [ $ttl = null])
Variables
Methods
Constructor __construct (line 35)

架构函数

  • access: public
CacheApc __construct ([ $options = ''])
  • $options
clear (line 110)

清除缓存

  • access: public
boolen clear ()
get (line 55)

读取缓存

  • access: public
mixed get (string $name)
  • string $name: 缓存变量名
rm (line 96)

删除缓存

  • access: public
boolen rm (string $name)
  • string $name: 缓存变量名
set (line 74)

写入缓存

  • access: public
boolen set (string $name, mixed $value, [ $ttl = null])
  • string $name: 缓存变量名
  • mixed $value: 存储数据
  • $ttl

Inherited Methods

Inherited From Cache

Cache::connect()
Cache::getInstance()
Cache::getOptions()
Cache::Q()
Cache::setOptions()
Cache::W()
Cache::__get()
Cache::__set()

Documentation generated on Thu, 27 Mar 2008 08:20:26 +0000 by 塞北的雪