You are here

public function FrxOracle::__destruct in Forena Reports 7.4

Same name and namespace in other branches
  1. 6.2 plugins/FrxOracle.inc \FrxOracle::__destruct()
  2. 6 plugins/FrxOracle.inc \FrxOracle::__destruct()
  3. 7 plugins/FrxOracle.inc \FrxOracle::__destruct()
  4. 7.2 plugins/FrxOracle.inc \FrxOracle::__destruct()
  5. 7.3 plugins/FrxOracle.inc \FrxOracle::__destruct()

Destructor - Closes database connections.

File

plugins/FrxOracle.inc, line 441
Oracle specific driver that takes advantage of oracles native XML support

Class

FrxOracle
@file Oracle specific driver that takes advantage of oracles native XML support

Code

public function __destruct() {
  $db = $this->db;
  if ($db) {
    oci_close($db);
  }
}