MediaWiki  1.23.3
CdbReaderDBA Class Reference

Reader class which uses the DBA extension. More...

Inheritance diagram for CdbReaderDBA:
Collaboration diagram for CdbReaderDBA:

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...
 

Detailed Description

Reader class which uses the DBA extension.

Definition at line 26 of file CdbDBA.php.

Constructor & Destructor Documentation

◆ __construct()

CdbReaderDBA::__construct (   $fileName)

Create the object and open the file.

Parameters
$fileNamestring

Reimplemented from CdbReader.

Definition at line 27 of file CdbDBA.php.

Member Function Documentation

◆ close()

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.

◆ get()

CdbReaderDBA::get (   $key)

Get a value with a given key.

Only string values are supported.

Parameters
$keystring

Reimplemented from CdbReader.

Definition at line 41 of file CdbDBA.php.


The documentation for this class was generated from the following file: