RedBeansCache Class Reference

Static Public Member Functions

static getBean ($beanIdentifier)
static cacheBean (RedBean_OODBBean $bean, $beanIdentifier)
static forgetBean ($beanIdentifier)
static forgetAll ()

Detailed Description

Caches RedBeans. Currently this cache only persists through the page request.

Definition at line 40 of file RedBeansCache.php.


Member Function Documentation

static getBean ( beanIdentifier  )  [static]

Get a cached model.

Definition at line 47 of file RedBeansCache.php.

static cacheBean ( RedBean_OODBBean $  bean,
beanIdentifier 
) [static]

Cache a model maintaining the bean properties

Definition at line 61 of file RedBeansCache.php.

static forgetBean ( beanIdentifier  )  [static]

Forget a cached bean.

Definition at line 74 of file RedBeansCache.php.

static forgetAll (  )  [static]

Forget all cached beans.

Definition at line 85 of file RedBeansCache.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Apr 28 07:10:29 2017