onPHP

Cache Class Reference

 

Cache Class Reference

Inheritance diagram for Cache:

Inheritance graph
[legend]
List of all members.

Static Public Member Functions

static me ()
static setPeer (CachePeer $peer)
static setDefaultWorker ($worker)
static setDaoMap ($map)
 associative array, className -> workerName
static worker (GenericDAO $dao)

Public Attributes

const NOT_FOUND = 'nil'
const EXPIRES_FOREVER = 259200
const EXPIRES_MAXIMUM = 21600
const EXPIRES_MEDIUM = 3600
const EXPIRES_MINIMUM = 300
const DO_NOT_CACHE = -2005

Static Private Attributes

static $map = null
 map dao -> worker
static $peer = null
 selected peer
static $worker = null
 default worker

Detailed Description

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


Member Function Documentation

static Cache::setPeer ( CachePeer peer  )  [static]

Examples:
cacheSettings.php.

Definition at line 51 of file Cache.class.php.

References $peer.

static Cache::setDefaultWorker ( worker  )  [static]

Definition at line 56 of file Cache.class.php.

References $worker.

static Cache::setDaoMap ( map  )  [static]

associative array, className -> workerName

Definition at line 64 of file Cache.class.php.

References $map.


Member Data Documentation

const Cache::EXPIRES_MAXIMUM = 21600

Definition at line 28 of file Cache.class.php.

const Cache::EXPIRES_MEDIUM = 3600

Definition at line 29 of file Cache.class.php.

Definition at line 30 of file Cache.class.php.

Cache::$map = null [static, private]

map dao -> worker

Definition at line 35 of file Cache.class.php.

Referenced by setDaoMap().

Cache::$peer = null [static, private]

selected peer

Definition at line 38 of file Cache.class.php.

Referenced by setPeer().

Cache::$worker = null [static, private]

default worker

Definition at line 41 of file Cache.class.php.

Referenced by setDefaultWorker(), and worker().


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

generated by doxygen-1.5.1
for onPHP at Tue Feb 13 19:29:28 2007