Documentation

Horde_Ldap_RootDse
in package
implements Serializable

Getting the rootDSE entry of a LDAP server.

Copyright 2009 Jan Wagner Copyright 2010-2017 Horde LLC (http://www.horde.org/)

Tags
category

Horde

author

Jan Wagner wagner@netsols.de

author

Jan Schneider jan@horde.org

license

http://www.gnu.org/licenses/lgpl-3.0.html LGPL-3.0

Interfaces, Classes, Traits and Enums

Serializable

Table of Contents

$_entry  : object
__construct()  : mixed
Constructor.
getValue()  : string|array<string|int, mixed>
Returns the requested attribute value.
serialize()  : mixed
supportedControl()  : bool
Determines if the control is supported.
supportedExtension()  : bool
Determines if the extension is supported.
supportedSASLMechanism()  : bool
Determines if the sasl mechanism is supported.
supportedVersion()  : bool
Determines if the version is supported.
unserialize()  : mixed
_checkAttr()  : bool
Checks for existance of value in attribute.

Properties

$_entry

protected object $_entry

Horde_Ldap_Entry

Methods

__construct()

Constructor.

public __construct(Horde_Ldap $ldap[, array<string|int, mixed> $attrs = null ]) : mixed

Fetches a RootDSE object from an LDAP connection.

Parameters
$ldap : Horde_Ldap

Directory from which the RootDSE should be fetched.

$attrs : array<string|int, mixed> = null

Array of attributes to search for.

Tags
throws
Horde_Ldap_Exception
Return values
mixed

getValue()

Returns the requested attribute value.

public getValue(string $attr[, array<string|int, mixed> $options = '' ]) : string|array<string|int, mixed>
Parameters
$attr : string

Attribute name.

$options : array<string|int, mixed> = ''

Array of options.

Tags
see
Horde_Ldap_Entry::getValue()
throws
Horde_Ldap_Exception
Return values
string|array<string|int, mixed>

Attribute value(s).

serialize()

public serialize() : mixed
Tags
since

Horde_Ldap 2.4.0

Return values
mixed

supportedControl()

Determines if the control is supported.

public supportedControl(array<string|int, mixed> $oids) : bool
Parameters
$oids : array<string|int, mixed>

Control OIDs to check.

Return values
bool

supportedExtension()

Determines if the extension is supported.

public supportedExtension(array<string|int, mixed> $oids) : bool
Parameters
$oids : array<string|int, mixed>

Array of OIDs to check.

Return values
bool

supportedSASLMechanism()

Determines if the sasl mechanism is supported.

public supportedSASLMechanism(array<string|int, mixed> $mechlist) : bool
Parameters
$mechlist : array<string|int, mixed>

SASL mechanisms to check.

Return values
bool

supportedVersion()

Determines if the version is supported.

public supportedVersion(array<string|int, mixed> $versions) : bool
Parameters
$versions : array<string|int, mixed>

Versions to check.

Return values
bool

unserialize()

public unserialize(mixed $serialized) : mixed
Parameters
$serialized : mixed
Tags
since

Horde_Ldap 2.4.0

Return values
mixed

_checkAttr()

Checks for existance of value in attribute.

protected _checkAttr(array<string|int, mixed> $values, string $attr) : bool
Parameters
$values : array<string|int, mixed>

Values to check.

$attr : string

Attribute name.

Return values
bool

Search results