You are here

public function FrxMSSQL::__destruct in Forena Reports 7

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

Destructor - Closes database connections.

File

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

Class

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

Code

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