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

Class: ForwardFW_Cache_Backend_Session

Source Location: /Cache/Backend/Session.php

Class Overview

ForwardFW_Cache_Backend
   |
   --ForwardFW_Cache_Backend_Session

Implementation of a Cache Backend.


Author(s):

Methods


Inherited Methods

Class: ForwardFW_Cache_Backend

ForwardFW_Cache_Backend::__construct()
Constructor
ForwardFW_Cache_Backend::clear()
Clear complete cache
ForwardFW_Cache_Backend::getData()
Gets data from Cache.
ForwardFW_Cache_Backend::readData()
Reads data from the cache
ForwardFW_Cache_Backend::removeData()
Removes data from the cache
ForwardFW_Cache_Backend::setData()
Sets data into Cache.
ForwardFW_Cache_Backend::setGenerating()
Sets marker that cache will be generated yet.
ForwardFW_Cache_Backend::unsetData()
Clears data from Cache.
ForwardFW_Cache_Backend::writeData()
Writes data into the cache

Class Details

[line 47]
Implementation of a Cache Backend.



Tags:



[ Top ]


Class Methods


constructor __construct [line 55]

ForwardFW_Cache_Backend_Session __construct( ForwardFW_Interface_Application $application, ForwardFW_Config_Cache_Backend $config)

Constructor



Tags:

access:  public


Overrides ForwardFW_Cache_Backend::__construct() (Constructor)

Parameters:

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

[ Top ]

method clear [line 107]

void clear( $strHash)

Clear complete cache



Tags:

access:  protected


Overrides ForwardFW_Cache_Backend::clear() (Clear complete cache)

Parameters:

   $strHash  

[ Top ]

method readData [line 84]

array readData( string $strHash)

Reads data from the cache



Tags:

return:  Data from the storage
access:  protected


Overrides ForwardFW_Cache_Backend::readData() (Reads data from the cache)

Parameters:

string   $strHash   Hash for data.

[ Top ]

method removeData [line 96]

boolean removeData( string $strHash)

Removes data from the cache



Tags:

return:  Returns true if data removed otherwise false.
access:  protected


Overrides ForwardFW_Cache_Backend::removeData() (Removes data from the cache)

Parameters:

string   $strHash   Hash for data.

[ Top ]

method writeData [line 72]

void writeData( string $strHash, $arData)

Writes data into the cache



Tags:

access:  protected


Overrides ForwardFW_Cache_Backend::writeData() (Writes data into the cache)

Parameters:

string   $strHash   Hash for data.
array   $arData   Data to save into cache.

[ Top ]


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