Property | Type | Description | |
---|---|---|---|
$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. |
Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
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 | ||
return | string |
public assembleCns ( ) : string | ||
return | string |
public assembleDcs ( ) : string | ||
return | string |
public assembleOs ( ) : string | ||
return | string |
public assembleOus ( ) : string | ||
return | string |
public assembleUids ( ) : string | ||
return | string |
public setSchema ( Adldap\Schemas\SchemaInterface $schema = null ) : |
||
$schema | Adldap\Schemas\SchemaInterface | |
return |
protected array $commonNames | ||
return | array |
protected array $domainComponents | ||
return | array |
protected array $organizationNames | ||
return | array |
protected array $organizationUnits | ||
return | array |
protected SchemaInterface,Adldap\Schemas $schema | ||
return | Adldap\Schemas\SchemaInterface |