MediaWiki  REL1_24
DBConnectionError Class Reference
Inheritance diagram for DBConnectionError:
Collaboration diagram for DBConnectionError:

List of all members.

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 ()

Detailed Description

Definition at line 98 of file DatabaseError.php.


Constructor & Destructor Documentation

DBConnectionError::__construct ( DatabaseBase db = null,
error = 'unknown error' 
)
Parameters:
DatabaseBase$dbObject throwing the error
string$errorError text

Reimplemented from DBError.

Definition at line 105 of file DatabaseError.php.


Member Function Documentation

Returns:
string

Definition at line 285 of file DatabaseError.php.

Returns:
string Safe HTML

Reimplemented from DBExpectedError.

Definition at line 154 of file DatabaseError.php.

Returns:
string

Reimplemented from DBExpectedError.

Definition at line 193 of file DatabaseError.php.

Returns:
bool

Reimplemented from MWException.

Definition at line 146 of file DatabaseError.php.

DBConnectionError::msg ( key,
fallback 
)
Parameters:
string$key
string$fallbackUnescaped 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.
Returns:
string Unprocessed plain error text with parameters replaced

Reimplemented from MWException.

Definition at line 133 of file DatabaseError.php.

Output the exception report using HTML.

Returns:
void

Reimplemented from MWException.

Definition at line 208 of file DatabaseError.php.

Returns:
string

Definition at line 242 of file DatabaseError.php.

Returns:
bool

Reimplemented from MWException.

Definition at line 121 of file DatabaseError.php.


Member Data Documentation

string DBConnectionError::$error

Error text *.

Definition at line 99 of file DatabaseError.php.


The documentation for this class was generated from the following file: