public function disconnect()
    {
        if ($this->connected) return false;

        $this->exec('exit;');

        $this->connection = null;
        $this->connected  = false;

        return true;
    }
public function disconnect()
    {
        if ($this->connected) return false;

        $this->exec('exit;');

        $this->connection = null;
        $this->connected  = false;

        return true;
    }
public function disconnect ( ) { if ( $ this -> connected ) return false ; $ this -> exec ( 'exit;' ) ; $ this -> connection = null ; $ this -> connected = false ; return true ; }
Disconnects open connection.

@return boolean
Disconnects open connection .