For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > July 2005 > Formbuilder + DB_DataObjects + Structures_DataGrid









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Formbuilder + DB_DataObjects + Structures_DataGrid
Etienne van Tonder

2005-07-25, 4:20 am

Hi,

I'm using DB_DataObjects + DB_DataObjects_FormBuilder + Structures_DataGrid
and my question has to do the fb_enumOptions array.

Is it possible to get the enum strings rather than the DB integer values to
display in the datagrid. At the moment all the enum fields display integer
values which is not very useful from a users point of view.

As all this information is already defined for FormBuilder in the
DB_DataObject object, I'm sure it would be possible to use the enum string
values.

Is it possible to do this at the moment, if not any pointers on how I can
change the code to do this.

Thanks,

Etienne.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com