[turba] multienum fields in turba

Jan Schneider jan at horde.org
Wed Sep 29 12:20:17 PDT 2004

Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Bo Daley <bo at darkwork.net>:
>> if I define an attribute in turba as a multienum field, is there
>> currently a way to store the field data as an array in the backend?
> No, not currently.
>> This could be done by serializing the data on its way into/out of 
>> the backend,
>> but I'm not sure that'd be the best way to do it..
> Yeah.
> I know I shouldn't say this with Horde 3 finalizing, but this is one of the
> reasons we should really rip Horde_Form and friends apart and put it back
> together slightly differently. We need something like a
> $type->getStorable($options) method for Horde_Form_Type classes.
> Maybe a not-so extreme solution would be to break Horde_Form_Type out
> into it's
> own Horde_Type library (which could then include Horde_Date, even), 
> and modify
> UI_VarRenderer into another seperate library (Horde_Field) or some 
> such. Types
> would define validation, getting storable formats, etc. Fields would map to
> display. Etc...
> Thoughts?

Nice idea, but not at this time.


Do you need professional PHP or Horde consulting?

More information about the turba mailing list