Public Member Functions

BeObjectCache Class Reference

BeObjectCache class. More...

List of all members.

Public Member Functions

 __construct ()
 Constructor Initialize cache config.
 getPathById ($id)
 read ($id, array &$options, $label=null)
 Read object from cache.
 write ($id, array &$options, array &$data, $label=null)
 Write object data to cache.
 delete ($id, array $options=null)
 Delete objects from cache.

Detailed Description

BeObjectCache class.

Class to read/write object data using Cake Cache

Definition at line 27 of file be_object_cache.php.


Constructor & Destructor Documentation

BeObjectCache::__construct (  ) 

Constructor Initialize cache config.

Parameters:
array $settings

Definition at line 45 of file be_object_cache.php.


Member Function Documentation

BeObjectCache::delete ( id,
array $  options = null 
)

Delete objects from cache.

Parameters:
integer $id objectId

Definition at line 139 of file be_object_cache.php.

References read().

BeObjectCache::read ( id,
array &$  options,
label = null 
)

Read object from cache.

Parameters:
int $id
array $options
Returns:
data array or false if no cache is found

Definition at line 102 of file be_object_cache.php.

Referenced by delete(), and write().

BeObjectCache::write ( id,
array &$  options,
array &$  data,
label = null 
)

Write object data to cache.

Parameters:
string $key
Returns:
array

Definition at line 116 of file be_object_cache.php.

References read().


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:46 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus