Elgg  Version 6.1
DatabaseException.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Exceptions;
4 
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 }
setParameters(array $params)
Set query parameters.
Base exception of exceptions in the Elgg system.
Definition: Exception.php:11
A generic parent class for database exceptions.