.

AnonymousCacheManager Class Reference
[Usermanagement]

Cache manager that caches only if user is not logged in. More...

Inheritance diagram for AnonymousCacheManager:
SuccessCacheManager SimpleCacheManager ConstantCacheManager ICacheManager

List of all members.

Public Member Functions

  get_cache_header_manager ()
  Get cache header manager.
  get_cache_id ()
  Return a chache id.

Detailed Description

Cache manager that caches only if user is not logged in.

If user is logged in, it returns the CacheHeaderManager set as ConfigUsermanagement::CACHEHEADER_CLASS_LOGGEDIN

Returns url as cache key

Author:
Gerd Riesselmann

Definition at line 13 of file anonymouscachemanager.cls.php.


Member Function Documentation

AnonymousCacheManager::get_cache_header_manager (  ) 

Get cache header manager.

Returns:
ICacheHeaderManager

Reimplemented from ConstantCacheManager.

Definition at line 29 of file anonymouscachemanager.cls.php.

AnonymousCacheManager::get_cache_id (  ) 

Return a chache id.

Reimplemented from SuccessCacheManager.

Definition at line 17 of file anonymouscachemanager.cls.php.

00017                                        {
00018                 if (Users::is_logged_in() == false) {
00019                         return parent::get_cache_id();
00020                 }
00021                 return ''; 
00022         }

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