.

CacheRenderDecorator Class Reference
[Controller]

Caching implementation. More...

Inheritance diagram for CacheRenderDecorator:
RenderDecoratorBase IRenderDecorator

List of all members.

Public Member Functions

  __construct ($cache_manager)
  Constructor.
  initialize ($page_data)
  Initialize this decorator and the data passed.

Detailed Description

Caching implementation.

Author:
Gerd Riesselmann

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


Constructor & Destructor Documentation

CacheRenderDecorator::__construct ( cache_manager  ) 

Constructor.

Parameters:
ICacheManager  $cache_manager Desired Cache Manager
Returns:
void

Definition at line 24 of file cacherenderdecorator.cls.php.

00024                                                     {
00025                 $this->cache_manager = $cache_manager;
00026         }

Member Function Documentation

CacheRenderDecorator::initialize ( page_data  ) 

Initialize this decorator and the data passed.

Parameters:
PageData  $page_data
Returns:
void

Reimplemented from RenderDecoratorBase.

Definition at line 34 of file cacherenderdecorator.cls.php.

00034                                                {
00035                 if ($this->cache_manager) {
00036                         $page_data->set_cache_manager($this->cache_manager);
00037                 }
00038                 parent::initialize($page_data);
00039         }

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