ldap_next_entry

(PHP 4, PHP 5, PHP 7, PHP 8)

ldap_next_entryGet next result entry

Descrição

ldap_next_entry(LDAP\Connection$ldap, LDAP\ResultEntry$entry): LDAP\ResultEntry|false

Retrieve the entries stored in the result. Successive calls to the ldap_next_entry() return entries one by one till there are no more entries. The first call to ldap_next_entry() is made after the call to ldap_first_entry() with the entry as returned from the ldap_first_entry().

Parâmetros

ldap

Uma instância de LDAP\Connection, retornada por ldap_connect().

entry

Uma instância de LDAP\ResultEntry.

Valor Retornado

Returns an LDAP\ResultEntry instance for the next entry in the result whose entries are being read starting with ldap_first_entry(). If there are no more entries in the result then it returns false.

Registro de Alterações

VersãoDescrição
8.1.0 O parâmetro ldap agora espera uma instância de LDAP\Connection; anteriormente, um resourceldap link válido era esperado.
8.1.0 O parâmetro entry agora espera uma instância de LDAP\ResultEntry; anteriormente, um resourceldap result entry válido era esperado.
8.1.0 Agora retorna uma instância de LDAP\Result; anteriormente, um resource era retornado.

Veja Também

To Top