|
MediaWiki
REL1_20
|
Database error base class. More...


Public Member Functions | |
| __construct (DatabaseBase &$db, $error) | |
| Construct a database error. | |
| getHTML () | |
| getText () | |
Public Attributes | |
| DatabaseBase | $db |
Protected Member Functions | |
| getContentMessage ($html) | |
Database error base class.
Definition at line 28 of file DatabaseError.php.
| DBError::__construct | ( | DatabaseBase &$ | db, |
| $ | error | ||
| ) |
Construct a database error.
| $db | DatabaseBase object which threw the error |
| $error | String A simple error message to be used for debugging |
Reimplemented in DBConnectionError.
Definition at line 39 of file DatabaseError.php.
| DBError::getContentMessage | ( | $ | html | ) | [protected] |
| $html | string |
Reimplemented in DBQueryError.
Definition at line 48 of file DatabaseError.php.
| DBError::getHTML | ( | ) |
Reimplemented from MWException.
Reimplemented in DBConnectionError.
Definition at line 74 of file DatabaseError.php.
| DBError::getText | ( | ) |
Reimplemented from MWException.
Definition at line 59 of file DatabaseError.php.
Referenced by MysqlInstaller\setupUser().
| DatabaseBase DBError::$db |
Definition at line 32 of file DatabaseError.php.