PHP Класс Horde_Ldap_RootDse, horde

Copyright 2009 Jan Wagner Copyright 2010-2016 Horde LLC (http://www.horde.org/)
Автор: Jan Wagner ([email protected])
Автор: Jan Schneider ([email protected])
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_entry Horde_Ldap_Entry

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
checkAttr ( array $values, string $attr ) : boolean Checks for existance of value in attribute.

Описание методов

__construct() публичный Метод

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() защищенный Метод

Checks for existance of value in attribute.
protected checkAttr ( array $values, string $attr ) : boolean
$values array Values to check.
$attr string Attribute name.
Результат boolean

getValue() публичный Метод

Returns the requested attribute value.
См. также: Horde_Ldap_Entry::getValue()
public getValue ( string $attr, array $options = '' ) : string | array
$attr string Attribute name.
$options array Array of options.
Результат string | array Attribute value(s).

supportedControl() публичный Метод

Determines if the control is supported.
public supportedControl ( array $oids ) : boolean
$oids array Control OIDs to check.
Результат boolean

supportedExtension() публичный Метод

Determines if the extension is supported.
public supportedExtension ( array $oids ) : boolean
$oids array Array of OIDs to check.
Результат boolean

supportedSASLMechanism() публичный Метод

Determines if the sasl mechanism is supported.
public supportedSASLMechanism ( array $mechlist ) : boolean
$mechlist array SASL mechanisms to check.
Результат boolean

supportedVersion() публичный Метод

Determines if the version is supported.
public supportedVersion ( array $versions ) : boolean
$versions array Versions to check.
Результат boolean

Описание свойств

$_entry защищенное свойство

Horde_Ldap_Entry
protected $_entry