[Tickets #4124] Add functionality to Horde_Form_Type_enum

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Jul 7 05:43:13 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4124
-----------------------------------------------------------------------
 Ticket             | 4124
 Updated By         | stpierre at nebrwesleyan.edu
 Summary            | Add functionality to Horde_Form_Type_enum
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Feedback
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
+New Attachment     | enum.patch
-----------------------------------------------------------------------


stpierre at nebrwesleyan.edu (2006-07-07 05:43) wrote:

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.





More information about the bugs mailing list