public function disconnect() {
    if ($this->connected) {
      if (is_a($this->link, 'SQLite3')) {
        $this->link->exec("PRAGMA optimize;");
        $this->link->close();
      }
      $this->connected = false;
    }
    return $this->connected;
  }
public function disconnect() {
    if ($this->connected) {
      if (is_a($this->link, 'SQLite3')) {
        $this->link->exec("PRAGMA optimize;");
        $this->link->close();
      }
      $this->connected = false;
    }
    return $this->connected;
  }
public function disconnect ( ) { if ( $ this -> connected ) { if ( is_a ( $ this -> link , 'SQLite3' ) ) { $ this -> link -> exec ( "PRAGMA optimize;" ) ; $ this -> link -> close ( ) ; } $ this -> connected = false ; } return $ this -> connected ; }
Disconnect from the SQLite3 database.

@return bool Whether this instance is connected to a SQLite3 database
after the method has run.
Disconnect from the SQLite3 database .