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

List of all members.

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

Detailed Description

Definition at line 90 of file DatabaseError.php.


Constructor & Destructor Documentation

DBConnectionError::__construct ( DatabaseBase &$  db,
error = 'unknown error' 
)

Construct a database error.

Parameters:
$dbDatabaseBase object which threw the error
$errorString A simple error message to be used for debugging

Reimplemented from DBError.

Definition at line 93 of file DatabaseError.php.

References $error.


Member Function Documentation

Returns:
string

Definition at line 248 of file DatabaseError.php.

Referenced by reportHTML().

Returns:
string

Reimplemented from DBError.

Definition at line 150 of file DatabaseError.php.

Returns:
bool

Reimplemented from MWException.

Definition at line 134 of file DatabaseError.php.

Returns:
string

Reimplemented from MWException.

Definition at line 142 of file DatabaseError.php.

DBConnectionError::msg ( key,
fallback 
)
Parameters:
$key
$fallback
Returns:
string

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

Returns:
string

Definition at line 211 of file DatabaseError.php.

Returns:
bool

Reimplemented from MWException.

Definition at line 108 of file DatabaseError.php.


Member Data Documentation

DBConnectionError::$error

Definition at line 91 of file DatabaseError.php.

Referenced by __construct().


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