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

Request #14009 Remove dbh from the callback
Submitted: 2008-05-29 03:11 UTC
From: shangxiao Assigned: thesee
Status: Assigned Package: HTML_QuickForm_Livesearch (version 0.4.0)
PHP Version: 5.2.6 OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2008-05-29 03:11 UTC] shangxiao (David Sanders)
Description: ------------ The $dbh option being passed into the option lookup callback clutters up the package. People can access their db handles through global functions or object properties. The callback parameters should purely be reserved for variable data coming from the plugin. Seeing as this is a beta release, API changes are acceptable.

Comments

 [2008-05-29 15:10 UTC] thesee (Giuseppe Dessi)
OK, I agree with you, but i think this is a Feature/Change Request and not a bug ;)