PeclMemcached Class Reference
[Application-wide cache subsystem]

Connector for PECL's Memcache extension by Antony Dovgal. More...

Inheritance diagram for PeclMemcached:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($host=Memcached::DEFAULT_HOST, $port=Memcached::DEFAULT_PORT)
 __destruct ()
 clean ()
 
Returns:
PeclMemcached

 get ($index)
 delete ($index)

Static Public Member Functions

static create ($host=Memcached::DEFAULT_HOST, $port=Memcached::DEFAULT_PORT)
 
Returns:
PeclMemcached


Public Attributes

const DEFAULT_PORT = 11211
const DEFAULT_HOST = '127.0.0.1'

Protected Member Functions

 store ($action, $key, &$value, $expires=Cache::EXPIRES_MEDIUM)

Private Attributes

 $instance = null


Detailed Description

Connector for PECL's Memcache extension by Antony Dovgal.

See also:
http://tony2001.phpclub.net/

http://pecl.php.net/package/memcache

Definition at line 21 of file PeclMemcached.class.php.


Constructor & Destructor Documentation

PeclMemcached::__construct ( host = Memcached::DEFAULT_HOST,
port = Memcached::DEFAULT_PORT 
)

Definition at line 39 of file PeclMemcached.class.php.

PeclMemcached::__destruct (  ) 

Definition at line 59 of file PeclMemcached.class.php.


Member Function Documentation

static PeclMemcached::create ( host = Memcached::DEFAULT_HOST,
port = Memcached::DEFAULT_PORT 
) [static]

Returns:
PeclMemcached

Definition at line 31 of file PeclMemcached.class.php.

PeclMemcached::clean (  ) 

Returns:
PeclMemcached

Reimplemented from CachePeer.

Definition at line 73 of file PeclMemcached.class.php.

PeclMemcached::get ( index  ) 

Reimplemented from CachePeer.

Definition at line 84 of file PeclMemcached.class.php.

PeclMemcached::delete ( index  ) 

Reimplemented from CachePeer.

Definition at line 97 of file PeclMemcached.class.php.

PeclMemcached::store ( action,
key,
&$  value,
expires = Cache::EXPIRES_MEDIUM 
) [protected]

Reimplemented from CachePeer.

Definition at line 108 of file PeclMemcached.class.php.


Member Data Documentation

const PeclMemcached::DEFAULT_PORT = 11211

Definition at line 23 of file PeclMemcached.class.php.

const PeclMemcached::DEFAULT_HOST = '127.0.0.1'

Definition at line 24 of file PeclMemcached.class.php.

PeclMemcached::$instance = null [private]

Definition at line 26 of file PeclMemcached.class.php.


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:58:06 2007 for onPHP by  doxygen 1.5.4