MediaWiki
REL1_22
|
Public Member Functions | |
__construct (DatabaseBase $db=null, $error= 'unknown error') | |
Construct a database error. | |
getHTML () | |
getPageTitle () | |
isLoggable () | |
msg ($key, $fallback) | |
reportHTML () | |
Output the exception report using HTML. | |
searchForm () | |
useOutputPage () | |
Public Attributes | |
$error | |
Protected Member Functions | |
getTextContent () | |
Private Member Functions | |
fileCachedPage () |
Definition at line 93 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 96 of file DatabaseError.php.
References DBError\$db, and $error.
DBConnectionError::fileCachedPage | ( | ) | [private] |
DBConnectionError::getTextContent | ( | ) | [protected] |
Reimplemented from DBError.
Definition at line 184 of file DatabaseError.php.
References global.
DBConnectionError::msg | ( | $ | key, |
$ | fallback | ||
) |
$key | |
$fallback |
Reimplemented from MWException.
Definition at line 122 of file DatabaseError.php.
Referenced by reportHTML().
Output the exception report using HTML.
Reimplemented from MWException.
Definition at line 194 of file DatabaseError.php.
References $cache, array(), fileCachedPage(), global, and msg().
Definition at line 227 of file DatabaseError.php.
DBConnectionError::$error |
Definition at line 94 of file DatabaseError.php.
Referenced by __construct().