Property | Type | Description | |
---|---|---|---|
$alias | string | The current alias for the context of a query operation. | |
$operation | LdapTools\Operation\LdapOperationInterface |
Method | Description | |
---|---|---|
hydrateToLdap ( $operation, $dn = null ) | ||
setAlias ( null | string $alias ) | Set the current alias that the operation is targeting (in the context of a query operation). |
Method | Description | |
---|---|---|
configureValueResolver ( |
||
filterAttributeValues ( array $attributes ) : array | Remove empty strings and null values from attribute value arrays. This prevents errors when saving to LDAP and these are present for some reason. | |
hydrateAddOperation ( |
||
hydrateModifyOperation ( |
||
hydrateOperation ( LdapTools\Operation\LdapOperationInterface $operation ) : LdapTools\Operation\LdapOperationInterface | ||
hydrateQueryOperation ( |
||
setDefaultParameters ( ) : array | Set some default parameters based off the connection. | |
setDnToUse ( |
Builds the DN based off of the "name" attribute. The name attribute should be mapped to the "cn" attribute in pretty much all cases except for creating an OU object. Then the "name" attribute should be mapped to "ou". |
protected configureValueResolver ( |
||
$valueResolver |
protected filterAttributeValues ( array $attributes ) : array | ||
$attributes | array | |
return | array |
protected hydrateAddOperation ( |
||
$operation |
protected hydrateModifyOperation ( |
||
$operation | ||
return |
protected hydrateOperation ( LdapTools\Operation\LdapOperationInterface $operation ) : LdapTools\Operation\LdapOperationInterface | ||
$operation | LdapTools\Operation\LdapOperationInterface | |
return | LdapTools\Operation\LdapOperationInterface |
protected hydrateQueryOperation ( |
||
$operation |
protected setDefaultParameters ( ) : array | ||
return | array |
protected setDnToUse ( |
||
$operation |
protected string $alias | ||
return | string |