Свойство | Тип | Описание | |
---|---|---|---|
$commonNames | array | The common names in the DN. | |
$domainComponents | array | The domain components in the DN. | |
$organizationNames | array | The organization names in the DN. | |
$organizationUnits | array | The organizational units in the DN. | |
$schema | Adldap\Schemas\SchemaInterface | The current LDAP schema. | |
$types | array | The RDN attribute types. | |
$userIds | array | The uid's in the DN. |
Метод | Описание | |
---|---|---|
__construct ( mixed $baseDn = null, Adldap\Schemas\SchemaInterface $schema = null ) | Constructor. | |
__toString ( ) : string | Returns the complete distinguished name. | |
addCn ( string $cn ) : |
Adds a common name. | |
addDc ( string $dc ) : |
Adds a domain component. | |
addO ( string $o ) | Adds an organization name. | |
addOu ( string $ou ) : |
Adds an organizational unit. | |
addUid ( string $uid ) : |
Add a user identifier. | |
assemble ( ) : string | Assembles all of the RDNs and returns the result. | |
assembleCns ( ) : string | Assembles the common names in the distinguished name. | |
assembleDcs ( ) : string | Assembles the domain components in the distinguished Name. | |
assembleOs ( ) : string | Assembles the organization names in the distinguished name. | |
assembleOus ( ) : string | Assembles the organizational units in the distinguished Name. | |
assembleUids ( ) : string | Assembles the user ID's in the distinguished name. | |
get ( ) : string | Returns the complete distinguished name. | |
removeCn ( string $cn ) : |
Removes a common name. | |
removeDc ( string $dc ) : |
Removes a domain component. | |
removeO ( string $o ) : |
Removes an organization name. | |
removeOu ( string $ou ) : |
Removes an organizational unit. | |
removeUid ( string $uid ) : |
Removes a user identifier. | |
setBase ( string | |
Sets the base RDN of the distinguished name. | |
setSchema ( Adldap\Schemas\SchemaInterface $schema = null ) : |
Sets the schema for the distinguished name. |
Метод | Описание | |
---|---|---|
assembleRdns ( string $attribute, array $values = [] ) : string | Assembles an RDN with the specified attribute and value. |
public __construct ( mixed $baseDn = null, Adldap\Schemas\SchemaInterface $schema = null ) | ||
$baseDn | mixed | |
$schema | Adldap\Schemas\SchemaInterface |
public __toString ( ) : string | ||
Результат | string |
public assembleCns ( ) : string | ||
Результат | string |
public assembleDcs ( ) : string | ||
Результат | string |
public assembleOs ( ) : string | ||
Результат | string |
public assembleOus ( ) : string | ||
Результат | string |
public assembleUids ( ) : string | ||
Результат | string |
public setSchema ( Adldap\Schemas\SchemaInterface $schema = null ) : |
||
$schema | Adldap\Schemas\SchemaInterface | |
Результат |
protected array $commonNames | ||
Результат | array |
protected array $domainComponents | ||
Результат | array |
protected array $organizationNames | ||
Результат | array |
protected array $organizationUnits | ||
Результат | array |
protected SchemaInterface,Adldap\Schemas $schema | ||
Результат | Adldap\Schemas\SchemaInterface |