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

Class: ForwardFW_Interface_Cache_Frontend

Source Location: /Interface/Cache/Frontend.php

Interface Overview


Interface for a Cache.


Author(s):

Methods



Class Details

[line 51]
Interface for a Cache.



Tags:



[ Top ]


Class Methods


static method getInstance [line 73]

static ForwardFW_Interface_Cache_Frontend getInstance( ForwardFW_Interface_Application $application, ForwardFW_Config_Cache_Frontend $config)

Builds an instance of cache



Tags:

return:  The cache Frontend
access:  public


Parameters:

ForwardFW_Interface_Application   $application   The running application
ForwardFW_Config_Cache_Frontend   $config   Configuration of caching

[ Top ]

constructor __construct [line 60]

ForwardFW_Interface_Cache_Frontend __construct( ForwardFW_Interface_Application $application, ForwardFW_Interface_Cache_Backend $backend)

Constructor



Tags:

access:  public


Parameters:

ForwardFW_Interface_Application   $application   The running application.
ForwardFW_Interface_Cache_Backend   $backend   Backend for storing cache data.

[ Top ]

method getCache [line 85]

mixed getCache( ForwardFW_Config_Cache_Data $config)

Returns content from cache or gathers the data



Tags:

return:  The data you requested.
access:  public


Parameters:

ForwardFW_Config_Cache_Data   $config   What data should be get from cache

[ Top ]


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