Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.2.0

Request #13979 creating entry objects and modifiyng should be more smart
Submitted: 2008-05-24 11:46 UTC
From: beni Assigned:
Status: Open Package: Net_LDAP2 (version CVS)
PHP Version: Irrelevant OS: Debian Etch
Roadmaps: 2.1.0    
Subscription  


 [2008-05-24 11:46 UTC] beni (Benedikt Hallinger)
Description: ------------ It should be researched if adding/modifing an entry needs to be so complicated. Currently one must know if the entry is present inside the directory or if it is a new one. However, this is more performant than checking the dn every run. Maybe we should introduce some "smart" constructor, that checks for existance inside the server and then calls the appropriate constructor. For modifying entries this could be more simplified - if modification or adding fails, we could adjust $_new and try again instead failing immediately.

Comments