MediaWiki  REL1_19
DBQueryError Class Reference
Inheritance diagram for DBQueryError:
Collaboration diagram for DBQueryError:

List of all members.

Public Member Functions

 __construct (DatabaseBase &$db, $error, $errno, $sql, $fname)
 getContentMessage ($html)
 getLogMessage ()
 getPageTitle ()
 getSQL ()

Public Attributes

 $errno
 $error
 $fname
 $sql

Detailed Description

Definition at line 260 of file DatabaseError.php.


Constructor & Destructor Documentation

DBQueryError::__construct ( DatabaseBase &$  db,
error,
errno,
sql,
fname 
)
Parameters:
$dbDatabaseBase
$errorstring
$errnoint|string
$sqlstring
$fnamestring

Definition at line 270 of file DatabaseError.php.

References $errno, $error, $fname, and $sql.


Member Function Documentation

Parameters:
$htmlstring
Returns:
string

Reimplemented from DBError.

Definition at line 287 of file DatabaseError.php.

References $error, $fname, $sql, getSQL(), MWException\useMessageCache(), and wfMsg().

Here is the call graph for this function:

Returns:
bool

Reimplemented from MWException.

Definition at line 322 of file DatabaseError.php.

Returns:
String

Reimplemented from MWException.

Definition at line 330 of file DatabaseError.php.

References MWException\msg().

Here is the call graph for this function:

Returns:
String

Definition at line 309 of file DatabaseError.php.

References $wgShowSQLErrors, and MWException\msg().

Referenced by getContentMessage().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

DBQueryError::$errno

Definition at line 261 of file DatabaseError.php.

Referenced by __construct().

DBQueryError::$error

Definition at line 261 of file DatabaseError.php.

Referenced by __construct(), and getContentMessage().

DBQueryError::$fname

Definition at line 261 of file DatabaseError.php.

Referenced by __construct(), and getContentMessage().

DBQueryError::$sql

Definition at line 261 of file DatabaseError.php.

Referenced by __construct(), and getContentMessage().


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