PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_LDAP » Bug #8525

Implement a &get_ldap() method to Net_LDAP_Entry

Details

Request #8525Implement a &get_ldap() method to Net_LDAP_Entry
Submitted2006-08-21 14:04 UTC
Fromb dot hallinger at skyforcesystems dot de
Assignedbeni
StatusClosed
PackageNet_LDAP
PHP Version4.4.2
Roadmaps(Not assigned)

Comments

[2006-08-21 14:04 UTC] b dot hallinger at skyforcesystems dot de

Description:
------------
It would be nice to be able to get a reference to the ldap-object stored in every entry.

In CVS this is already possible by creating a manual reference to $entry->_ldap but the ldap-variable is tagged private.

The advanteage of getting the LDAP-Object is, that it would be easier to use the utf8 library provided by Net_LDAP_Utils.

currently one must make a new ldap-connection to provide it to the Util-class. The Util-class itself fetches the shema then.
I think it would be nice to use a already established connection for this.