MediaWiki REL1_28
DBConnectionError Class Reference
Inheritance diagram for DBConnectionError:
Collaboration diagram for DBConnectionError:

Public Member Functions

 __construct (IDatabase $db=null, $error='unknown error')
 
- Public Member Functions inherited from DBExpectedError
 __construct (IDatabase $db=null, $error, array $params=[])
 
 getKey ()
 Returns the message key.
 
 getParams ()
 Returns the message parameters.
 

Additional Inherited Members

- Public Attributes inherited from DBError
IDatabase null $db
 
- Protected Attributes inherited from DBExpectedError
string[] $params
 Message parameters.
 

Detailed Description

Definition at line 25 of file DBConnectionError.php.

Constructor & Destructor Documentation

◆ __construct()

DBConnectionError::__construct ( IDatabase  $db = null,
  $error = 'unknown error' 
)
Parameters
IDatabase$dbObject throwing the error
string$errorError text

Reimplemented from DBError.

Definition at line 30 of file DBConnectionError.php.

References DBError\$db.


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