Inherits Cache.

Public Member Functions | |
| Cache_MemCache () | |
| add_server ($host, $port) | |
| set ($key, $var, $expire=0) | |
| & | get ($key) |
| delete ($key) | |
| flush () | |
| gc () | |
| stats () | |
Public Attributes | |
| $memcache = null | |
| $active = false | |
PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet
Description: Memcache access routines
Definition at line 10 of file memcache.php.
| Cache_MemCache::add_server | ( | $ | host, | |
| $ | port | |||
| ) |
Definition at line 34 of file memcache.php.
Referenced by Cache_MemCache().
| Cache_MemCache::Cache_MemCache | ( | ) |
Constructor
Definition at line 20 of file memcache.php.
References $p, add_server(), and Cache::Cache().
| Cache_MemCache::delete | ( | $ | key | ) |
Reimplemented from Cache.
Definition at line 54 of file memcache.php.
| Cache_MemCache::flush | ( | ) |
| Cache_MemCache::gc | ( | ) |
| & Cache_MemCache::get | ( | $ | key | ) |
Reimplemented from Cache.
Definition at line 46 of file memcache.php.
| Cache_MemCache::set | ( | $ | key, | |
| $ | var, | |||
| $ | expire = 0 | |||
| ) |
| string | $key Unique key name to store value under | |
| mixed | $var Variable to store | |
| int | $expire Expiration time (from now) in seconds. Use zero to never expire. |
Reimplemented from Cache.
Definition at line 40 of file memcache.php.
| Cache_MemCache::stats | ( | ) |
| Cache_MemCache::$active = false |
Definition at line 15 of file memcache.php.
| Cache_MemCache::$memcache = null |
Definition at line 12 of file memcache.php.
1.6.1