All Data Structures Functions Variables Pages
Static Public Member Functions
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)

Get a cached model.

Definition at line 47 of file RedBeansCache.php.

static cacheBean ( RedBean_OODBBean  $bean,

Cache a model maintaining the bean properties

Definition at line 61 of file RedBeansCache.php.

static forgetBean (   $beanIdentifier)

Forget a cached bean.

Definition at line 74 of file RedBeansCache.php.

static forgetAll ( )

Forget all cached beans.

Definition at line 85 of file RedBeansCache.php.

The documentation for this class was generated from the following file:
Generated on Mon Apr 6 2020 07:11:18