Class CacheXcache

Description

Xcache缓存类

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

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

架构函数

  • access: public
CacheXcache __construct ([ $options = ''])
  • $options
get (line 54)

读取缓存

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

删除缓存

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

写入缓存

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

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 塞北的雪