Cache_File Class Reference
Inherits Cache.
List of all members.
Detailed Description
PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet
- Author:
- Judd Vinet <jvinet@zeroflux.org>
Description: File-based cache driver. This driver is useful for times when you don't have a more robust caching facility, such as eAccelerator or MemCache.
WARNING: These is no file locking in place for this driver.
Definition at line 14 of file file.php.
Member Function Documentation
| Cache_File::_mangle_key |
( |
$ |
key |
) |
|
| Cache_File::Cache_File |
( |
|
) |
|
| Cache_File::delete |
( |
$ |
key |
) |
|
Flush entire cache.
Reimplemented from Cache.
Definition at line 89 of file file.php.
Expire old entries.
Reimplemented from Cache.
Definition at line 100 of file file.php.
| & Cache_File::get |
( |
$ |
key |
) |
|
| Cache_File::set |
( |
$ |
key, |
|
|
$ |
var, |
|
|
$ |
expire = 0 | |
|
) |
| | |
- Parameters:
-
| string | $key Unique key name to store value under |
| mixed | $var Variable to store |
| int | $expire Expiration time (from now) in seconds. Use zero to never expire. |
Reimplemented from Cache.
Definition at line 34 of file file.php.
References $fp, and _mangle_key().
Return some usage statistics.
Reimplemented from Cache.
Definition at line 110 of file file.php.
Member Data Documentation
The documentation for this class was generated from the following file: