Inherited by CdbWriter_PHP.
Public Member Functions | |
| __construct ($fileName) | |
| Create the object and open the file. | |
| set ($key, $value) | |
| Set a key to a given value. | |
| close () | |
| Close the writer object. | |
Static Public Member Functions | |
| static | open ($fileName) |
| Open a writer and return a subclass instance. | |
Native and pure PHP implementations are provided.
Definition at line 55 of file Cdb.php.
| CdbWriter::__construct | ( | $ | fileName | ) | [abstract] |
| CdbWriter::close | ( | ) | [abstract] |
Close the writer object.
You should call this function before the object goes out of scope, to write out the final hashtables.
Reimplemented in CdbWriter_PHP.
| static CdbWriter::open | ( | $ | fileName | ) | [static] |
Open a writer and return a subclass instance.
The user must have write access to the directory, for temporary file creation.
Definition at line 60 of file Cdb.php.
References CdbReader::haveExtension(), and wfDebug().
Referenced by LCStore_CDB::startWrite().
| CdbWriter::set | ( | $ | key, | |
| $ | value | |||
| ) | [abstract] |
1.5.9