Hoa central
Public Member Functions | List of all members
Hoa\Cache\Backend\Backend Class Reference
Inheritance diagram for Hoa\Cache\Backend\Backend:

Public Member Functions

 store ($data)
 
 load ()
 
 clean ($lifetime=Cache::CLEAN_EXPIRED)
 
 remove ()
 
- Public Member Functions inherited from Hoa\Cache\Cache
 __construct (Array $parameters=[])
 
 getParameters ()
 
 ksort (Array &$array)
 

Additional Inherited Members

- Public Attributes inherited from Hoa\Cache\Cache
const CLEAN_ALL = -1
 
const CLEAN_EXPIRED = 0
 
const CLEAN_USER = 1
 
- Protected Member Functions inherited from Hoa\Cache\Cache
 makeId ($id=null)
 
 setId ($id)
 
 getId ()
 
 getIdMd5 ()
 
 removeId ()
 
- Static Protected Attributes inherited from Hoa\Cache\Cache
static $_id = []
 

Detailed Description

Class .

Backend parent class.

Definition at line 51 of file Backend.php.

Member Function Documentation

Hoa\Cache\Backend\Backend::clean (   $lifetime = Cache::CLEAN_EXPIRED)
abstract

Clean data.

Parameters
int$lifetimeLifetime of caches.
Returns
void
Hoa\Cache\Backend\Backend::load ( )
abstract

Load data.

Returns
mixed
Hoa\Cache\Backend\Backend::remove ( )
abstract

Remove data.

Returns
void
Hoa\Cache\Backend\Backend::store (   $data)
abstract

Save data.

Parameters
mixed$dataData to store.
Returns
void

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