6.0.0-beta1
10/18/25

[#4124] Add functionality to Horde_Form_Type_enum
Summary Add functionality to Horde_Form_Type_enum
Queue Horde Framework Packages
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester stpierre (at) nebrwesleyan (dot) edu
Created 07/06/2006 (7044 days ago)
Due
Updated 10/10/2006 (6948 days ago)
Assigned
Resolved 10/10/2006 (6948 days ago)
Milestone
Patch No

History
10/10/2006 01:30:40 PM Jan Schneider Comment #4
State ⇒ Resolved
Reply to this comment
Committed to CVS HEAD, thanks.
10/10/2006 01:22:19 PM Jan Schneider Deleted Original Message
 
07/07/2006 12:43:13 PM stpierre (at) nebrwesleyan (dot) edu Comment #3
New Attachment: enum[1].patch Download
Reply to this comment
Apologies; I've attached an updated patch.



I'm not sure this functionality would be needed, per se, as you could

always construct an array of values before initializing the select

object.  That said, adding a setValues method a) is trivial; b)

conforms to OO best practices (i.e., a mutator for every accessor and

vice-versa); and c) may make it easier to construct some

Horde_Form_Type_enum objects.  I wrote it for the final reason.


07/07/2006 02:27:02 AM Chuck Hagenbuch Version ⇒ HEAD
 
07/07/2006 02:26:34 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
A few other things snuck into the patch. Also: enhancements should be 
against HEAD, and can you give a case where you need this?
07/06/2006 06:17:19 PM stpierre (at) nebrwesleyan (dot) edu Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Add functionality to Horde_Form_Type_enum
Queue ⇒ Horde Framework Packages
New Attachment: enum.patch
State ⇒ New
Reply to this comment
This is a small patch that adds the setValues function to the 
Horde_Form_Type_enum class.

Saved Queries