MediaWiki
REL1_19
|
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 70 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 73 of file DatabaseError.php.
References $error.
DBConnectionError::fileCachedPage | ( | ) | [private] |
Definition at line 228 of file DatabaseError.php.
References $t, $wgOut, $wgTitle, msg(), Title\newFromText(), and HTMLFileCache\newFromTitle().
Referenced by reportHTML().
Reimplemented from DBError.
Definition at line 130 of file DatabaseError.php.
References $wgShowDBErrorBacktrace, Html\element(), msg(), searchForm(), and MessageCache\singleton().
Reimplemented from MWException.
Definition at line 122 of file DatabaseError.php.
References $wgSitename, and msg().
DBConnectionError::msg | ( | $ | key, |
$ | fallback | ||
) |
$key | |
$fallback |
Reimplemented from MWException.
Definition at line 98 of file DatabaseError.php.
References $fallback, $wgLang, MWException\useMessageCache(), and wfMsgReplaceArgs().
Referenced by fileCachedPage(), getHTML(), getPageTitle(), reportHTML(), and searchForm().
Output the exception report using HTML.
Reimplemented from MWException.
Definition at line 158 of file DatabaseError.php.
References $wgUseFileCache, echo, fileCachedPage(), and msg().
Definition at line 191 of file DatabaseError.php.
References $wgServer, $wgSitename, and msg().
Referenced by getHTML().
DBConnectionError::$error |
Definition at line 71 of file DatabaseError.php.
Referenced by __construct().