.

ICacheManager Interface Reference
[Interfaces]

A cache manager. More...

Inheritance diagram for ICacheManager:
ConstantCacheManager MimeCacheManager NoCacheCacheManager SimpleCacheManager SuccessCacheManager

List of all members.

Public Member Functions

  get_cache_header_manager ()
  Get cache header manager.
  get_cache_id ()
  Returs the cache id.
  get_creation_datetime ()
  Returns the datetime this cache has been created.
  get_expiration_datetime ()
  Returns the datetime this cache expires.
  initialize ($page_data)
  Initialize this instance.
  set_cache_duration ($seconds)
  Set Cache duration in seconds.
  set_cache_header_manager (ICacheHeaderManager $manager)
  Set cache header manager.
  set_cache_id ($id)
  Sets the cache id.
  set_creation_datetime ($datetime)
  Sets the datetime this cache has been created.
  set_expiration_datetime ($datetime)
  Sets the expiration datetime this cache expires.

Detailed Description

A cache manager.

Author:
Gerd Riesselmann

Definition at line 8 of file icachemanager.cls.php.


Member Function Documentation

ICacheManager::get_cache_header_manager (  ) 

Get cache header manager.

Returns:
ICacheHeaderManager

Implemented in ConstantCacheManager.

ICacheManager::get_cache_id (  ) 

Returs the cache id.

Returns:
mixed

Implemented in ConstantCacheManager, and SuccessCacheManager.

ICacheManager::get_creation_datetime (  ) 

Returns the datetime this cache has been created.

Returns:
timestamp

Implemented in ConstantCacheManager.

ICacheManager::get_expiration_datetime (  ) 

Returns the datetime this cache expires.

Returns:
timestamp

Implemented in ConstantCacheManager.

ICacheManager::initialize ( page_data  ) 

Initialize this instance.

Parameters:
PageData  $page_data
Returns:
void

Implemented in ConstantCacheManager, and SuccessCacheManager.

ICacheManager::set_cache_duration ( seconds  ) 

Set Cache duration in seconds.

Parameters:
int  $seconds

Implemented in ConstantCacheManager.

ICacheManager::set_cache_header_manager ( ICacheHeaderManager manager  ) 

Set cache header manager.

Implemented in ConstantCacheManager.

ICacheManager::set_cache_id ( id  ) 

Sets the cache id.

Parameters:
mixed  $id

Implemented in ConstantCacheManager.

ICacheManager::set_creation_datetime ( datetime  ) 

Sets the datetime this cache has been created.

Parameters:
timestamp  $datetime

Implemented in ConstantCacheManager.

ICacheManager::set_expiration_datetime ( datetime  ) 

Sets the expiration datetime this cache expires.

Parameters:
timestamp  $datetime

Implemented in ConstantCacheManager.


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