MediaWiki
REL1_20
|
Public Member Functions | |
__construct (DatabaseBase &$db, $error= 'unknown error') | |
Construct a database error. | |
getHTML () | |
getLogMessage () | |
getPageTitle () | |
msg ($key, $fallback) | |
reportHTML () | |
Output the exception report using HTML. | |
searchForm () | |
useOutputPage () | |
Public Attributes | |
$error | |
Private Member Functions | |
fileCachedPage () |
Definition at line 90 of file DatabaseError.php.
DBConnectionError::__construct | ( | DatabaseBase &$ | db, |
$ | error = 'unknown error' |
||
) |
Construct a database error.
$db | DatabaseBase object which threw the error |
$error | String A simple error message to be used for debugging |
Reimplemented from DBError.
Definition at line 93 of file DatabaseError.php.
References $error.
DBConnectionError::fileCachedPage | ( | ) | [private] |
DBConnectionError::msg | ( | $ | key, |
$ | fallback | ||
) |
$key | |
$fallback |
Reimplemented from MWException.
Definition at line 118 of file DatabaseError.php.
Referenced by reportHTML().
Output the exception report using HTML.
Reimplemented from MWException.
Definition at line 178 of file DatabaseError.php.
References echo, fileCachedPage(), and msg().
Definition at line 211 of file DatabaseError.php.
DBConnectionError::$error |
Definition at line 91 of file DatabaseError.php.
Referenced by __construct().