MediaWiki
REL1_21
|
Public Member Functions | |
__construct (DatabaseBase $db=null, $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 = null , |
$ | error = 'unknown error' |
||
) |
Construct a database error.
$db | DatabaseBase object which threw the error | |
string | $error | A simple error message to be used for debugging |
Reimplemented from DBError.
Definition at line 93 of file DatabaseError.php.
References DBError\$db, and $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 $cache, array(), echo, fileCachedPage(), global, and msg().
Definition at line 211 of file DatabaseError.php.
DBConnectionError::$error |
Definition at line 91 of file DatabaseError.php.
Referenced by __construct().