Elgg  Version master
Public Member Functions | List of all members
Elgg\Exceptions\DatabaseException Class Reference

A generic parent class for database exceptions. More...

Inheritance diagram for Elgg\Exceptions\DatabaseException:
Elgg\Exceptions\Exception Elgg\Exceptions\ExceptionInterface Elgg\Exceptions\Database\UserFetchFailureException

Public Member Functions

 setQuery ($sql)
 Set query. More...
 
 getQuery ()
 Get query. More...
 
 setParameters (array $params)
 Set query parameters. More...
 
 getParameters ()
 Get params. More...
 

Detailed Description

A generic parent class for database exceptions.

Since
4.0

Definition at line 10 of file DatabaseException.php.

Member Function Documentation

Elgg\Exceptions\DatabaseException::getParameters ( )

Get params.

Returns
array

Definition at line 56 of file DatabaseException.php.

Elgg\Exceptions\DatabaseException::getQuery ( )

Get query.

Returns
string

Definition at line 37 of file DatabaseException.php.

Elgg\Exceptions\DatabaseException::setParameters ( array  $params)

Set query parameters.

Parameters
array$paramsParams
Returns
void

Definition at line 48 of file DatabaseException.php.

Elgg\Exceptions\DatabaseException::setQuery (   $sql)

Set query.

Parameters
string$sqlSQL query
Returns
void

Definition at line 29 of file DatabaseException.php.


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