ForwardFW
[ class tree: ForwardFW ] [ index: ForwardFW ] [ all elements ]

Class: ForwardFW_Cache_Frontend_Function

Source Location: /Cache/Frontend/Function.php

Class Overview

ForwardFW_Cache_Frontend
   |
   --ForwardFW_Cache_Frontend_Function

Implementation of a Cache.


Author(s):

Methods


Inherited Methods

Class: ForwardFW_Cache_Frontend

ForwardFW_Cache_Frontend::__construct()
Constructor
ForwardFW_Cache_Frontend::calculateHash()
ForwardFW_Cache_Frontend::getBackend()
Builds Backend of a cache configuration
ForwardFW_Cache_Frontend::getCache()
Returns content from cache or gathers the data
ForwardFW_Cache_Frontend::getDataToCache()
ForwardFW_Cache_Frontend::getFrontend()
Builds Backend of a cache configuration
ForwardFW_Cache_Frontend::getHash()
Calculates a hash by serialize and md5.
ForwardFW_Cache_Frontend::getInstance()
Builds an instance of cache
ForwardFW_Cache_Frontend::getRealData()
Returns the real data and add it to cache. If real data fails tries to get old data from cache if available.

Class Details

[line 48]
Implementation of a Cache.



Tags:



[ Top ]


Class Methods


method calculateHash [line 68]

string calculateHash( ForwardFW_Config_Cache_Data $config)

Returns hash for this config.



Tags:

return:  Hash for the config.
access:  protected


Overrides ForwardFW_Cache_Frontend::calculateHash() (parent method not documented)

Parameters:

ForwardFW_Config_Cache_Data   $config   For what the hash should calculated.

[ Top ]

method getCache [line 57]

mixed getCache( ForwardFW_Config_Cache_Data $config)

Returns content from cache or gathers the data



Tags:

return:  The data you requested.
access:  public


Overrides ForwardFW_Cache_Frontend::getCache() (Returns content from cache or gathers the data)

Parameters:

ForwardFW_Config_Cache_Data   $config   What data should be get from cache

[ Top ]

method getDataToCache [line 73]

void getDataToCache( ForwardFW_Config_Cache_Data $config)



Tags:

access:  protected


Overrides ForwardFW_Cache_Frontend::getDataToCache() (parent method not documented)

Parameters:

ForwardFW_Config_Cache_Data   $config  

[ Top ]


Documentation generated on Sun, 30 Jan 2011 20:46:42 +0100 by phpDocumentor 1.4.3