Cache_XCache Class Reference

Inherits Cache.

Collaboration diagram for Cache_XCache:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Cache_XCache ()
 set ($key, $var, $expire=0)
get ($key)
 delete ($key)
 flush ()
 gc ()
 stats ()

Detailed Description

PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet

Author:
Judd Vinet <jvinet@zeroflux.org>

Description: XCache access routines

Definition at line 10 of file xcache.php.


Member Function Documentation

Cache_XCache::Cache_XCache (  ) 

Constructor

Definition at line 15 of file xcache.php.

References Cache::Cache().

Cache_XCache::delete ( key  ) 

Reimplemented from Cache.

Definition at line 33 of file xcache.php.

Cache_XCache::flush (  ) 

Flush entire cache.

Reimplemented from Cache.

Definition at line 39 of file xcache.php.

Cache_XCache::gc (  ) 

Expire old entries.

Reimplemented from Cache.

Definition at line 44 of file xcache.php.

& Cache_XCache::get ( key  ) 

Reimplemented from Cache.

Definition at line 26 of file xcache.php.

Cache_XCache::set ( key,
var,
expire = 0 
)
Parameters:
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 20 of file xcache.php.

Cache_XCache::stats (  ) 

Return some usage statistics.

Reimplemented from Cache.

Definition at line 49 of file xcache.php.


The documentation for this class was generated from the following file:

Generated on Wed Jan 13 09:21:04 2010 for Pronto Framework by  doxygen 1.6.1