public getVersion ( ) : integer | ||
return | integer | The protocol version. |
public function getVersion()
{
if ($this->_link) {
$version = $this->getOption('LDAP_OPT_PROTOCOL_VERSION');
} else {
$version = $this->_config['version'];
}
return $version;
}