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

Public Member Functions

 __construct (IDatabase $db, $error, $errno, $sql, $fname)
 
- Public Member Functions inherited from DBExpectedError
 __construct (IDatabase $db=null, $error, array $params=[])
 
 getKey ()
 Returns the message key.
 
 getParams ()
 Returns the message parameters.
 
- Public Member Functions inherited from DBError
 __construct (IDatabase $db=null, $error)
 Construct a database error.
 

Public Attributes

integer $errno
 
string $error
 
string $fname
 
string $sql
 
- Public Attributes inherited from DBError
IDatabase null $db
 

Additional Inherited Members

- Protected Attributes inherited from DBExpectedError
string[] $params
 Message parameters.
 

Detailed Description

Definition at line 25 of file DBQueryError.php.

Constructor & Destructor Documentation

◆ __construct()

DBQueryError::__construct ( IDatabase  $db,
  $error,
  $errno,
  $sql,
  $fname 
)
Parameters
IDatabase$db
string$error
int | string$errno
string$sql
string$fname

Definition at line 42 of file DBQueryError.php.

References DBError\$db, $errno, $error, $fname, $sql, and sql.

Member Data Documentation

◆ $errno

integer DBQueryError::$errno

Definition at line 29 of file DBQueryError.php.

Referenced by __construct().

◆ $error

string DBQueryError::$error

Definition at line 27 of file DBQueryError.php.

Referenced by __construct().

◆ $fname

string DBQueryError::$fname

Definition at line 33 of file DBQueryError.php.

Referenced by __construct().

◆ $sql

string DBQueryError::$sql

Definition at line 31 of file DBQueryError.php.

Referenced by __construct().


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