MediaWiki
REL1_23
|
Public Member Functions | |
__construct (DatabaseBase $db=null, $error= 'unknown error') | |
getHTML () | |
isLoggable () | |
msg ($key, $fallback) | |
reportHTML () | |
Output the exception report using HTML. | |
searchForm () | |
useOutputPage () | |
Public Attributes | |
string | $error |
Error text *. | |
Protected Member Functions | |
getTextContent () | |
Private Member Functions | |
fileCachedPage () |
Definition at line 98 of file DatabaseError.php.
DBConnectionError::__construct | ( | DatabaseBase $ | db = null , |
$ | error = 'unknown error' |
||
) |
DatabaseBase | $db | Object throwing the error |
string | $error | Error text |
Reimplemented from DBError.
Definition at line 105 of file DatabaseError.php.
DBConnectionError::fileCachedPage | ( | ) | [private] |
Definition at line 289 of file DatabaseError.php.
Reimplemented from DBExpectedError.
Definition at line 158 of file DatabaseError.php.
DBConnectionError::getTextContent | ( | ) | [protected] |
Reimplemented from DBExpectedError.
Definition at line 197 of file DatabaseError.php.
DBConnectionError::msg | ( | $ | key, |
$ | fallback | ||
) |
string | $key | |
string | $fallback | Unescaped alternative error text in case the message cache cannot be used. Can contain parameters as in regular messages, that should be passed as additional parameters. |
Reimplemented from MWException.
Definition at line 133 of file DatabaseError.php.
Output the exception report using HTML.
Reimplemented from MWException.
Definition at line 212 of file DatabaseError.php.
Definition at line 246 of file DatabaseError.php.
string DBConnectionError::$error |
Error text *.
Definition at line 99 of file DatabaseError.php.