[ulaform] SQL Action Driver
Marko Djukic
mdjukic at horde.org
Tue Feb 3 09:40:52 PST 2004
Quoting Vilius Sumskas <vilius at lnk.lt>:
> i'm sending first draft of my sql action class. It's my first Horde class, so
> i
> want you to check if i'm working in right direction. Any suggestions and
> ideas
> are welcome.
ok looking good. i've committed it so you can work from the cvs version.
> one question:
>
> is there any efficient way to convert Horde_Form field types to database
> native
> SQL types? for example:
>
> 'text' -> 'VARCHAR(255)',
> 'email' -> 'VARCHAR(255)',
> 'number' -> 'INT',
> .....
no, no easy way. i guess i can see a reason for having createTable function to
really have a dynamic way of creating forms without worrying about tables,
although admin should make sure there's the adequate backend to support a form.
--
Marko Djukic
Horde Project (http://horde.org)
More information about the ulaform
mailing list