Xataface 2.0
Xataface Application Framework
Public Member Functions | Static Public Member Functions | Data Fields
Dataface_Cache Class Reference

Public Member Functions

 Dataface_Cache ($cachedir=null, $prefix=null)
 apc_get ($key)
 apc_set ($key, &$value)
 get ($key)
 set ($key, &$value)

Static Public Member Functions

static & getInstance ()

Data Fields

 $prefix
 $cachedir
 $monitored = array()

Detailed Description

Definition at line 21 of file Cache.php.


Member Function Documentation

apc_get ( key)

Definition at line 47 of file Cache.php.

apc_set ( key,
&$  value 
)

Definition at line 51 of file Cache.php.

Dataface_Cache ( cachedir = null,
prefix = null 
)

Definition at line 38 of file Cache.php.

get ( key)

Definition at line 55 of file Cache.php.

static& getInstance ( ) [static]

Definition at line 63 of file Cache.php.

set ( key,
&$  value 
)

Definition at line 59 of file Cache.php.


Field Documentation

$cachedir

The cache directory that is used (if APC is not used)

Definition at line 30 of file Cache.php.

$monitored = array()

Array of references to variables that should be stored when updateCache() is called.

Definition at line 36 of file Cache.php.

$prefix

The string prefix that should be prepended to all keys for using APC cache.

Definition at line 25 of file Cache.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations