Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Exceptions
DatabaseException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Exceptions
;
4
10
class
DatabaseException
extends
Exception
{
11
15
private
$sql;
16
20
private
$params;
21
29
public
function
setQuery
($sql) {
30
$this->sql = $sql;
31
}
32
37
public
function
getQuery
() {
38
return
$this->sql;
39
}
40
48
public
function
setParameters
(array $params) {
49
$this->params = $params;
50
}
51
56
public
function
getParameters
() {
57
return
$this->params;
58
}
59
}
Elgg\Exceptions\DatabaseException\getParameters
getParameters()
Get params.
Definition:
DatabaseException.php:56
Elgg\Exceptions\DatabaseException\setQuery
setQuery($sql)
Set query.
Definition:
DatabaseException.php:29
Elgg\Exceptions\DatabaseException\setParameters
setParameters(array $params)
Set query parameters.
Definition:
DatabaseException.php:48
Elgg\Exceptions\Exception
Base exception of exceptions in the Elgg system.
Definition:
Exception.php:11
Elgg\Exceptions\DatabaseException
A generic parent class for database exceptions.
Definition:
DatabaseException.php:10
Elgg\Exceptions\DatabaseException\getQuery
getQuery()
Get query.
Definition:
DatabaseException.php:37
Elgg\Exceptions
Definition:
AuthenticationException.php:3
Generated on Wed Dec 4 2024 00:00:20 for Elgg by
1.8.11