function retrieveAttributes in Lightweight Directory Access Protocol (LDAP) 6
File
- includes/
ldap.attribute.inc, line 109 - Attribute Class and Manipulation Functions
Code
function retrieveAttributes($dn) {
set_error_handler(array(
'ldap_server',
'void_error_handler',
));
$result = ldap_read($this->connection, $dn, 'objectClass=*');
$entries = ldap_get_entries($this->connection, $result);
restore_error_handler();
return call_user_func($this->attr_filter, $this->sid, $entries[0]);
}