Loading Please wait...

zCache Class Reference
[Caching Module]

Inheritance diagram for zCache:

Inheritance graph
[legend]
Collaboration diagram for zCache:

Collaboration graph
[legend]

Public Member Functions

 zCache (&$controller)
 __construct (&$controller)

Data Fields

 $controller
 $register
 $exists
 $exec
 $delete

Detailed Description

Serves caches by using zCache_factory. This class is instantieted into Controller which you can access as $this->cache from your controller. It uses zCache_factory Class to serve the contents Internally.

Definition at line 136 of file usr/lib/module/cache/cache.php.


Constructor & Destructor Documentation

zCache::__construct ( &$  controller  ) 

Definition at line 180 of file usr/lib/module/cache/cache.php.

References $controller.

00180                                     {
00181     //$this->controller = &$controller;
00182     $this->register = new zCache_factory(&$controller, 'registerCache', true);
00183     $this->exists = new zCache_factory(&$controller, 'cacheExists');
00184     $this->exec = new zCache_factory(&$this->controller, 'execCache');
00185     $this->delete = new zCache_factory(&$controller, 'deleteCache');
00186   }


Member Function Documentation

zCache::zCache ( &$  controller  ) 

Definition at line 173 of file usr/lib/module/cache/cache.php.

References $controller.

00173                                {
00174     $this->controller = &$controller;
00175     $this->register = new zCache_factory($controller, 'registerCache', true);
00176     $this->exists = new zCache_factory(&$controller, 'cacheExists');
00177     $this->exec = new zCache_factory(&$this->controller, 'execCache');
00178     $this->delete = new zCache_factory(&$controller, 'deleteCache');
00179   }


Field Documentation

zCache::$controller

Definition at line 143 of file usr/lib/module/cache/cache.php.

Referenced by __construct(), and zCache().

zCache::$register

Definition at line 150 of file usr/lib/module/cache/cache.php.

zCache::$exists

Definition at line 157 of file usr/lib/module/cache/cache.php.

zCache::$exec

Definition at line 164 of file usr/lib/module/cache/cache.php.

zCache::$delete

Definition at line 171 of file usr/lib/module/cache/cache.php.


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

Generated on Mon Oct 27 23:53:18 2008 for zigmoyd.kdevelop by doxygen 1.5.6