Class CacheShmop

Description

Shmop缓存类

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

Base
   |
   --Cache
      |
      --CacheShmop
Method Summary
CacheShmop __construct ([ $options = ''])
mixed get ([string $name = false])
boolen rm (string $name)
boolen set (string $name, mixed $value)
Variables
Methods
Constructor __construct (line 34)

架构函数

  • access: public
CacheShmop __construct ([ $options = ''])
  • $options
get (line 63)

读取缓存

  • access: public
mixed get ([string $name = false])
  • string $name: 缓存变量名
rm (line 130)

删除缓存

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

写入缓存

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

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:28 +0000 by 塞北的雪