Connection

class Connection extends AbstractConnection

Methods

__construct(array $config = array()) from AbstractConnection
__destruct()
bool isBound()

Checks whether the connection was already bound or not.

bind(string $dn = null, string $password = null)

Binds the connection against a DN and password.

resource getResource()

Returns a link resource.

setOption($name, $value)
getOption($name)

Details

__construct(array $config = array())

Parameters

array $config

__destruct()

bool isBound()

Checks whether the connection was already bound or not.

Return Value

bool

bind(string $dn = null, string $password = null)

Binds the connection against a DN and password.

Parameters

string $dn The user's DN
string $password The associated password

resource getResource()

Returns a link resource.

Return Value

resource

setOption($name, $value)

Parameters

$name
$value

getOption($name)

Parameters

$name
doc_Symfony
2016-10-28 06:11:16
Comments
Leave a Comment

Please login to continue.