/** * Get a specific LDAP entry, identified by its DN * * @param string $dn Record identifier * * @return array Hash array */ function get_entry($dn) { return parent::get_entry($dn, $this->attributes); }
/** * Get a specific LDAP entry, identified by its DN * * @param string $dn Record identifier * @param array $attributes Attributes to return * * @return array Hash array */ function get_entry($dn, $attributes = array()) { return parent::get_entry($dn, !empty($attributes) ? $attributes : $this->attributes); }