PHP Class Horde_Ldap_RootDse, horde

Copyright 2009 Jan Wagner Copyright 2010-2016 Horde LLC (http://www.horde.org/)
Author: Jan Wagner ([email protected])
Author: Jan Schneider ([email protected])
Mostra file Open project: horde/horde

Protected Properties

Property Type Description
$_entry Horde_Ldap_Entry

Public Methods

Method Description
__construct ( Horde_Ldap $ldap, array $attrs = null ) Constructor.
getValue ( string $attr, array $options = '' ) : string | array Returns the requested attribute value.
supportedControl ( array $oids ) : boolean Determines if the control is supported.
supportedExtension ( array $oids ) : boolean Determines if the extension is supported.
supportedSASLMechanism ( array $mechlist ) : boolean Determines if the sasl mechanism is supported.
supportedVersion ( array $versions ) : boolean Determines if the version is supported.

Protected Methods

Method Description
checkAttr ( array $values, string $attr ) : boolean Checks for existance of value in attribute.

Method Details

__construct() public method

Fetches a RootDSE object from an LDAP connection.
public __construct ( Horde_Ldap $ldap, array $attrs = null )
$ldap Horde_Ldap Directory from which the RootDSE should be fetched.
$attrs array Array of attributes to search for.

checkAttr() protected method

Checks for existance of value in attribute.
protected checkAttr ( array $values, string $attr ) : boolean
$values array Values to check.
$attr string Attribute name.
return boolean

getValue() public method

Returns the requested attribute value.
See also: Horde_Ldap_Entry::getValue()
public getValue ( string $attr, array $options = '' ) : string | array
$attr string Attribute name.
$options array Array of options.
return string | array Attribute value(s).

supportedControl() public method

Determines if the control is supported.
public supportedControl ( array $oids ) : boolean
$oids array Control OIDs to check.
return boolean

supportedExtension() public method

Determines if the extension is supported.
public supportedExtension ( array $oids ) : boolean
$oids array Array of OIDs to check.
return boolean

supportedSASLMechanism() public method

Determines if the sasl mechanism is supported.
public supportedSASLMechanism ( array $mechlist ) : boolean
$mechlist array SASL mechanisms to check.
return boolean

supportedVersion() public method

Determines if the version is supported.
public supportedVersion ( array $versions ) : boolean
$versions array Versions to check.
return boolean

Property Details

$_entry protected_oe property

Horde_Ldap_Entry
protected $_entry