You are here

function LdapServer::__destruct in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_servers/LdapServer.class.php \LdapServer::__destruct()
  2. 7.2 ldap_servers/LdapServer.class.php \LdapServer::__destruct()

Destructor Method

1 method overrides LdapServer::__destruct()
LdapServerTest::__destruct in ldap_servers/tests/LdapServerTest.class.php
Destructor Method

File

ldap_servers/LdapServer.class.php, line 184
Defines server classes and related functions.

Class

LdapServer
LDAP Server Class

Code

function __destruct() {

  // Close the server connection to be sure.
  $this
    ->disconnect();
}