Property | Type | Description | |
---|---|---|---|
$attributes | The attributes to be sent to LDAP. | ||
$location | The OU/container where the LDAP object should be created. |
Method | Description | |
---|---|---|
__construct ( string $dn = null, array $attributes = [] ) | ||
addAttribute ( string $attribute, mixed $value ) | Add an attribute that will be added to the entry going to LDAP. | |
getAttributes ( ) : array | Get the attributes to be sent to LDAP on an add changetype. | |
getLocation ( ) : null | string | Get the location where the LDAP object should be created in LDAP. | |
setAttributes ( array $attributes ) | Set the attributes that will be added to the entry going to LDAP. | |
setLocation ( string $location ) | Set the location of where the LDAP object should be created in LDAP. Only set this when you are using a schema type via the 'setType()' method. Otherwise you must set the full DN via 'setDn()'. | |
toOperation ( ) | ||
toString ( ) |
Method | Description | |
---|---|---|
unicodePwdHack ( |
Workaround AD special cases with the unicodePwd attribute. |
public __construct ( string $dn = null, array $attributes = [] ) | ||
$dn | string | |
$attributes | array |
public addAttribute ( string $attribute, mixed $value ) | ||
$attribute | string | |
$value | mixed |
public getAttributes ( ) : array | ||
return | array |
public getLocation ( ) : null | string | ||
return | null | string |
public setAttributes ( array $attributes ) | ||
$attributes | array |
public setLocation ( string $location ) | ||
$location | string |
protected unicodePwdHack ( |
||
$operation |