MediaWiki  REL1_22
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')
 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 ()

Detailed Description

Definition at line 93 of file DatabaseError.php.


Constructor & Destructor Documentation

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

Construct a database error.

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

Reimplemented from DBError.

Definition at line 96 of file DatabaseError.php.

References DBError\$db, and $error.


Member Function Documentation

Returns:
string

Definition at line 264 of file DatabaseError.php.

Referenced by reportHTML().

Returns:
string

Reimplemented from DBError.

Definition at line 153 of file DatabaseError.php.

Returns:
string

Reimplemented from MWException.

Definition at line 146 of file DatabaseError.php.

Returns:
string

Reimplemented from DBError.

Definition at line 184 of file DatabaseError.php.

References global.

Returns:
boolean

Reimplemented from MWException.

Definition at line 138 of file DatabaseError.php.

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

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

Returns:
string

Definition at line 227 of file DatabaseError.php.

Returns:
bool

Reimplemented from MWException.

Definition at line 112 of file DatabaseError.php.


Member Data Documentation

DBConnectionError::$error

Definition at line 94 of file DatabaseError.php.

Referenced by __construct().


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