W3cubDocs

/Symfony 4.1

ConnectionOptions

class ConnectionOptions

A class representing the Ldap extension's options, which can be used with ldap_set_option or ldap_get_option.

Constants

API_INFO
DEREF
SIZELIMIT
TIMELIMIT
REFERRALS
RESTART
PROTOCOL_VERSION
SERVER_CONTROLS
CLIENT_CONTROLS
API_FEATURE_INFO
HOST_NAME
ERROR_NUMBER
ERROR_STRING
MATCHED_DN
DEBUG_LEVEL
NETWORK_TIMEOUT
X_SASL_MECH
X_SASL_REALM
X_SASL_AUTHCID
X_SASL_AUTHZID

Methods

static getOptionName($name)
static int getOption(string $name)

Fetches an option's corresponding constant value from an option name.

static isOption($name)

Details

static getOptionName($name)

Parameters

$name

static int getOption(string $name)

Fetches an option's corresponding constant value from an option name.

The option name can either be in snake or camel case.

Parameters

string $name

Return Value

int

Exceptions

LdapException

static isOption($name)

Parameters

$name

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Ldap/Adapter/ExtLdap/ConnectionOptions.html