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

Class: ForwardFW_Interface_Cache_Backend

Source Location: /Interface/Cache/Backend.php

Interface Overview


Interface for a Cache.


Author(s):

Methods



Class Details

[line 46]
Interface for a Cache.



Tags:



[ Top ]


Class Methods


constructor __construct [line 56]

void __construct( ForwardFW_Interface_Application $application, ForwardFW_Config_Cache_Backend $config)

Constructor



Tags:

access:  public


Parameters:

ForwardFW_Interface_Application   $application   The running application.
ForwardFW_Config_Cache_Backend   $config   Configuration of Backend.

[ Top ]

method getData [line 69]

mixed getData( string $strHash, integer $nTime)

Gets data from Cache.



Tags:

return:  Data from cache
access:  public


Parameters:

string   $strHash   Hash for data.
integer   $nTime   Oldest Time of data in cache.

[ Top ]

method setData [line 79]

void setData( string $strHash, mixed $mData)

Sets data from Cache.



Tags:

access:  public


Parameters:

string   $strHash   Hash for data.
mixed   $mData   Data to save into cache.

[ Top ]

method setGenerating [line 97]

void setGenerating( string $strHash)

Sets marker that cache will be generated yet.



Tags:

access:  public


Parameters:

string   $strHash   Hash of cache which is generated.

[ Top ]

method unsetData [line 88]

void unsetData( string $strHash)

Clears data from Cache.



Tags:

access:  public


Parameters:

string   $strHash   Hash for data.

[ Top ]


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