Bruni Emiliano > Class-DBI-Form > to_cgi

Download:
Class-DBI-Form-00.03.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

to_cgi

This returns a hash mapping all the column names of the class to HTML::Element objects representing form widgets.

to_field($field [, $how])

This maps an individual column to a form element. The how argument can be used to force the field type into one of textfield, textarea or select; you can use this is you want to avoid the automatic detection of has-a relationships.

syntax highlighting: