MediaWiki
REL1_22
|
Database error base class. More...
Public Member Functions | |
__construct (DatabaseBase $db=null, $error) | |
Construct a database error. | |
getHTML () | |
getText () | |
Public Attributes | |
DatabaseBase | $db |
Protected Member Functions | |
getHTMLContent () | |
getTextContent () |
Database error base class.
Definition at line 28 of file DatabaseError.php.
DBError::__construct | ( | DatabaseBase $ | db = null , |
$ | error | ||
) |
Construct a database error.
$db | DatabaseBase object which threw the error | |
string | $error | A simple error message to be used for debugging |
Reimplemented in DBConnectionError.
Definition at line 39 of file DatabaseError.php.
DBError::getHTML | ( | ) |
Reimplemented from MWException.
Reimplemented in DBConnectionError.
Definition at line 62 of file DatabaseError.php.
DBError::getHTMLContent | ( | ) | [protected] |
DBError::getText | ( | ) |
Reimplemented from MWException.
Definition at line 47 of file DatabaseError.php.
Referenced by MysqlInstaller\setupUser().
DBError::getTextContent | ( | ) | [protected] |
Reimplemented in DBQueryError, and DBConnectionError.
Definition at line 78 of file DatabaseError.php.
DatabaseBase DBError::$db |
Definition at line 32 of file DatabaseError.php.
Referenced by DBConnectionError\__construct().