.

SuccessCacheManager Class Reference
[Controller]

Caches only when logged in, uses current URL. More...

Inheritance diagram for SuccessCacheManager:
SimpleCacheManager ConstantCacheManager ICacheManager

List of all members.

Public Member Functions

  get_cache_id ()
  Return a chache id.
  initialize ($page_data)
  Initialize this instance.

Protected Attributes

  $page_data

Detailed Description

Caches only when logged in, uses current URL.

Author:
Gerd Riesselmann

Definition at line 10 of file succescachemanager.cls.php.


Member Function Documentation

SuccessCacheManager::get_cache_id (  ) 

Return a chache id.

Reimplemented from ConstantCacheManager.

Definition at line 25 of file succescachemanager.cls.php.

00025                                        {
00026                 $ret = false;
00027                 if ($this->page_data->successful()) {
00028                         $ret = parent::get_cache_id();
00029                 }
00030                 return $ret; 
00031         }
SuccessCacheManager::initialize ( page_data  ) 

Initialize this instance.

Parameters:
PageData  $page_data
Returns:
void

Reimplemented from ConstantCacheManager.

Definition at line 18 of file succescachemanager.cls.php.

00018                                                {
00019                 $this->page_data = $page_data;
00020         }       

Member Data Documentation

SuccessCacheManager::$page_data [protected]

Definition at line 16 of file succescachemanager.cls.php.


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