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

Class: ForwardFW_Cache_Backend_File

Source Location: /Cache/Backend/File.php

Class Overview

ForwardFW_Cache_Backend
   |
   --ForwardFW_Cache_Backend_File

Implementation of a File 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 File Cache Backend.



Tags:



[ Top ]


Class Methods


constructor __construct [line 55]

ForwardFW_Cache_Backend_File __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 118]

void clear( )

Clear complete cache



Tags:

access:  protected


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

[ Top ]

method readData [line 88]

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 104]

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 71]

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:41 +0100 by phpDocumentor 1.4.3