public function close() { if (isset($this->fdtrans)) { $this->fdtrans->close(); } if (isset($this->hdtrans)) { $this->hdtrans->close(); } }