EntryManager
class EntryManager implements EntryManagerInterface
Методы
| __construct(Connection $connection) | ||
| add(Entry $entry) Добавляет новую запись в сервер Ldap. | ||
| update(Entry $entry) Обновляет запись на сервере Ldap. | ||
| remove(Entry $entry) Удаляет запись с сервера Ldap. | ||
| addAttributeValues(Entry $entry, string $attribute, array $values) Добавляет значения в многозначный атрибут записи на сервере LDAP. | ||
| removeAttributeValues(Entry $entry, string $attribute, array $values) Удаляет значения из многозначного атрибута записи на сервере LDAP. | ||
| rename(Entry $entry, string $newRdn, bool $removeOldRdn = true) Переименовывает запись на сервере Ldap. |
Подробности
__construct(Connection $connection)
Параметры
| Connection | $connection |
add(Entry $entry)
Добавляет новую запись в сервер Ldap.
Параметры
| Entry | $entry |
Исключения
| NotBoundException | |
| LdapException |
update(Entry $entry)
Обновляет запись на сервере Ldap.
Параметры
| Entry | $entry |
Исключения
| NotBoundException | |
| LdapException |
remove(Entry $entry)
Удаляет запись с сервера Ldap.
Параметры
| Entry | $entry |
Исключения
| NotBoundException | |
| LdapException |
addAttributeValues(Entry $entry, string $attribute, array $values)
Добавляет значения в многозначный атрибут записи на сервере LDAP.
Параметры
| Entry | $entry | |
| string | $attribute | |
| array | $values |
Исключения
| NotBoundException | |
| LdapException |
removeAttributeValues(Entry $entry, string $attribute, array $values)
Удаляет значения из многозначного атрибута записи на сервере LDAP.
Параметры
| Entry | $entry | |
| string | $attribute | |
| array | $values |
Исключения
| NotBoundException | |
| LdapException |
rename(Entry $entry, string $newRdn, bool $removeOldRdn = true)
Переименовывает запись на сервере Ldap.
Параметры
| Entry | $entry | |
| string | $newRdn | |
| bool | $removeOldRdn |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Ldap/Adapter/ExtLdap/EntryManager.html