class EntryManager implements EntryManagerInterface

Methods

__construct(Connection $connection)

No description

add(Entry $entry)

Adds a new entry in the Ldap server.

update(Entry $entry)

Updates an entry from the Ldap server.

remove(Entry $entry)

Removes an entry from the Ldap server.

addAttributeValues(Entry $entry, string $attribute, array $values)

Adds values to an entry's multi-valued attribute from the LDAP server.

removeAttributeValues(Entry $entry, string $attribute, array $values)

Removes values from an entry's multi-valued attribute from the LDAP server.

rename(Entry $entry, string $newRdn, bool $removeOldRdn = true)

Renames an entry on the Ldap server.

Details

at line 27
__construct(Connection $connection)

Parameters

Connection $connection

at line 35
add(Entry $entry)

Adds a new entry in the Ldap server.

Parameters

Entry $entry

Exceptions

NotBoundException
LdapException

at line 49
update(Entry $entry)

Updates an entry from the Ldap server.

Parameters

Entry $entry

Exceptions

NotBoundException
LdapException

at line 61
remove(Entry $entry)

Removes an entry from the Ldap server.

Parameters

Entry $entry

Exceptions

NotBoundException
LdapException

at line 76
addAttributeValues(Entry $entry, string $attribute, array $values)

Adds values to an entry's multi-valued attribute from the LDAP server.

Parameters

Entry $entry
string $attribute
array $values

Exceptions

NotBoundException
LdapException

at line 91
removeAttributeValues(Entry $entry, string $attribute, array $values)

Removes values from an entry's multi-valued attribute from the LDAP server.

Parameters

Entry $entry
string $attribute
array $values

Exceptions

NotBoundException
LdapException

at line 103
rename(Entry $entry, string $newRdn, bool $removeOldRdn = true)

Renames an entry on the Ldap server.

Parameters

Entry $entry
string $newRdn
bool $removeOldRdn