Inherited by CdbReader_PHP.
Public Member Functions | |
__construct ($fileName) | |
Construct the object and open the file. | |
close () | |
Close the file. | |
get ($key) | |
Get a value with a given key. | |
Static Public Member Functions | |
static | open ($fileName) |
Open a file and return a subclass instance. | |
static | haveExtension () |
Returns true if the native extension is available. |
Native and pure PHP implementations are provided. http://cr.yp.to/cdb.html
Definition at line 8 of file Cdb.php.
CdbReader::__construct | ( | $ | fileName | ) | [abstract] |
CdbReader::close | ( | ) | [abstract] |
Close the file.
Optional, you can just let the variable go out of scope.
Reimplemented in CdbReader_PHP.
CdbReader::get | ( | $ | key | ) | [abstract] |
static CdbReader::haveExtension | ( | ) | [static] |
Returns true if the native extension is available.
Definition at line 24 of file Cdb.php.
Referenced by CdbWriter::open(), and CdbTest::setup().
static CdbReader::open | ( | $ | fileName | ) | [static] |
Open a file and return a subclass instance.
Definition at line 12 of file Cdb.php.
References wfDebug().
Referenced by LCStore_CDB::get(), and Interwiki::getInterwikiCacheEntry().