[#5317] dblookup field extension
Summary dblookup field extension
Queue Horde Framework Packages
Queue Version HEAD
Type Enhancement
State Accepted
Priority 1. Low
Owners
Requester Duck <duck (at) obala (dot) net>
Created 04/30/2007 (432 days ago)
Due
Updated 03/31/2008 (96 days ago)
Assigned
Resolved
Attachments dblookup.diff Download
Form.php.diff Download
Milestone
Patch Yes

History
03/31/2008 Chuck Hagenbuch Patch ⇒ 1
 
03/31/2008 Jan Schneider State ⇒ Accepted
 
03/31/2008 pp (at) dia (dot) uva (dot) nl Comment #4
New Attachment: Form.php.diff Download
Reply to this comment
Hey, here's another implementation of the suggested improvement of the 
dblookup form type so it can properly handle foreign keys (not just in 
cases where the key equals the value).
05/12/2007 Chuck Hagenbuch Comment #3
State ⇒ Rejected
Reply to this comment
Marking as rejected for now. Might be superceded by new Horde_Form 
with helpers, might not be.
05/02/2007 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
This breaks the old behavior. getAll() returns a two dimensional 
array, even if you query only a single column. getCol() returns a 
simple array. Beside that, the error check is wrong because it 
evaluates to true if $results is a PEAR_Error.
04/30/2007 Duck Comment #1
Priority ⇒ 1. Low
New Attachment: dblookup.diff Download
Summary ⇒ dblookup field extension
Type ⇒ Enhancement
Queue ⇒ Horde Framework Packages
State ⇒ New
Reply to this comment
Be more flexible in the dblookup field. Now we retrieve only the first 
column, with this patch if the second column is returned by the query, 
it would be used as option name.