Property | Type | Description | |
---|---|---|---|
$connection | LdapTools\Connection\LdapConnectionInterface | ||
$dispatcher | LdapTools\Event\EventDispatcherInterface | ||
$schemaFactory |
Method | Description | |
---|---|---|
__construct ( LdapTools\Connection\LdapConnectionInterface $connection, |
||
delete ( |
Removes an object from LDAP. | |
move ( |
Moves an object from one container/OU to another in LDAP. | |
persist ( |
Updates an object in LDAP. It will only update attributes that actually changed on the object. | |
restore ( |
Restore a deleted LDAP object. Optionally pass the new location container/OU for the object. If a new location is not provided it will use the lastKnownParent value to determine where it should go. |
Method | Description | |
---|---|---|
executeBatchOperation ( |
||
getObjectRestoreLocation ( |
It's possible a new location was not explicitly given and the attribute that contains the last know location was not queried for when the object was originally found. In that case attempt to retrieve the last known location from a separate LDAP query. | |
hydrateOperation ( |
Get the batch modification array that ldap_modify_batch expects. | |
validateObject ( |
The DN attribute must be present to perform LDAP operations. |
public __construct ( LdapTools\Connection\LdapConnectionInterface $connection, |
||
$connection | LdapTools\Connection\LdapConnectionInterface | |
$schemaFactory | ||
$dispatcher | LdapTools\Event\EventDispatcherInterface |
protected executeBatchOperation ( |
||
$ldapObject | ||
$dn | string | null | The DN to use for the batch operation to LDAP. |
protected hydrateOperation ( |
||
$operation | ||
$type | string |
public persist ( |
||
$ldapObject |
protected validateObject ( |
||
$ldapObject |
protected LdapConnectionInterface,LdapTools\Connection $connection | ||
return | LdapTools\Connection\LdapConnectionInterface |
protected EventDispatcherInterface,LdapTools\Event $dispatcher | ||
return | LdapTools\Event\EventDispatcherInterface |