MediaWiki  1.28.1
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. More...
 getParams ()
 Returns the message parameters. More...
- Public Member Functions inherited from DBError
 __construct (IDatabase $db=null, $error)
 Construct a database error. More...

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. More...

Detailed Description

Definition at line 25 of file DBQueryError.php.

Constructor & Destructor Documentation

DBQueryError::__construct ( IDatabase  $db,
int | string$errno

Definition at line 42 of file DBQueryError.php.

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

Member Data Documentation

integer DBQueryError::$errno

Definition at line 29 of file DBQueryError.php.

Referenced by __construct().

string DBQueryError::$error

Definition at line 27 of file DBQueryError.php.

Referenced by __construct().

string DBQueryError::$fname

Definition at line 33 of file DBQueryError.php.

Referenced by __construct().

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: