MediaWiki
1.23.3
|
Reader class which uses the DBA extension. More...
Public Member Functions | |
__construct ( $fileName) | |
Create the object and open the file. More... | |
close () | |
Close the file. More... | |
get ( $key) | |
Get a value with a given key. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from CdbReader | |
static | haveExtension () |
Returns true if the native extension is available. More... | |
static | open ( $fileName) |
Open a file and return a subclass instance. More... | |
Protected Attributes inherited from CdbReader | |
$handle | |
The file handle. More... | |
Reader class which uses the DBA extension.
Definition at line 26 of file CdbDBA.php.
CdbReaderDBA::__construct | ( | $fileName | ) |
Create the object and open the file.
$fileName | string |
Reimplemented from CdbReader.
Definition at line 27 of file CdbDBA.php.
CdbReaderDBA::close | ( | ) |
Close the file.
Optional, you can just let the variable go out of scope.
Reimplemented from CdbReader.
Definition at line 34 of file CdbDBA.php.
CdbReaderDBA::get | ( | $key | ) |
Get a value with a given key.
Only string values are supported.
$key | string |
Reimplemented from CdbReader.
Definition at line 41 of file CdbDBA.php.