Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/function.ldap-first-attribute.html
Дата изменения: Sun Feb 3 22:43:31 2002
Дата индексирования: Mon Oct 1 22:18:08 2012
Кодировка:
ldap_first_attribute

ldap_first_attribute

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

ldap_first_attribute -- Return first attribute

Description

string ldap_first_attribute ( int link_identifier, int result_entry_identifier, int ber_identifier)

Returns the first attribute in the entry on success and FALSE on error.

Similar to reading entries, attributes are also read one by one from a particular entry. ldap_first_attribute() returns the first attribute in the entry pointed by the result_entry_identifier. Remaining attributes are retrieved by calling ldap_next_attribute() successively. ber_identifier is the identifier to internal memory location pointer. It is passed by reference. The same ber_identifier is passed to the ldap_next_attribute() function, which modifies that pointer.

See also ldap_get_attributes()