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

Class: FileCache

Source Location: /cache/FileCache.class.php

Class Overview


Class FileCache handles Container values and caches them on disk.


Variables

Methods



Class Details

[line 10]
Class FileCache handles Container values and caches them on disk.



[ Top ]


Class Variables

$cachePath =  null

[line 14]



Tags:

access:  protected

Type:   mixed


[ Top ]

$cachePattern =  '%s.cache.php'

[line 15]


Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 27]

FileCache __construct( string $cachePath)

Construct the cache



Tags:

access:  public
since:  4.0.0
author:  Tyler Tompkins (ttompkins@mojavi.org)
throws:  ConfigurationException if can't read or create the cache path


Parameters:

string   $cachePath   Directory path to the cache

[ Top ]

method clearAll [line 62]

void clearAll( )



Tags:

access:  public


[ Top ]

method clearCache [line 96]

void clearCache( mixed $handle)



Tags:

access:  public


[ Top ]

method getCache [line 141]

void &getCache( mixed $handle)



Tags:

access:  public


[ Top ]

method getCachePath [line 174]

void getCachePath( mixed $handle)



Tags:

access:  public


[ Top ]

method hasCache [line 165]

void hasCache( mixed $handle)



Tags:

access:  public


[ Top ]

method isExpired [line 185]

void isExpired( mixed $handle, mixed $comparison)



Tags:

access:  public


[ Top ]

method isExpiredRelative [line 226]

void isExpiredRelative( mixed $handle, mixed $expirationTime)



Tags:

access:  public


[ Top ]

method setCache [line 117]

void setCache( mixed $handle, mixed &$value)



Tags:

access:  public


[ Top ]


Documentation generated on Tue, 21 Feb 2006 02:29:46 +0900 by phpDocumentor 1.3.0RC5