Rechercher une page de manuel
CGI::FormMagick::HTML.3pm
Langue: en
Version: 2003-06-24 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
CGI::FormMagick::HTML - HTML output routines for FormMagickDESCRIPTION
These are internal-use-only routines for displaying HTML output, probably only of interest to developers of FormMagick. =head1 DEVELOPER ROUTINES$self->print_page()
Prints out a page of the form, including the page header and footer, the fields, and the buttons.
print_buttons($fm)
print the table row containing the form's buttons
print_form_header($fm)
prints the header template and the form title (heading level 1)
print_form_footer($fm)
prints the stuff that goes at the bottom of every page of the form
print_page_header($fm)
prints the page title (heading level 2) and description
print_page_footer($fm)
prints the stuff that goes at the bottom of a page, mostly just the form and table close tags and stuff.
print_field_description($description)
prints the description of a field
print_field_error($error)
prints any errors related to a field
display_fields($fm)
displays the fields for a page by looping through them
gather_field_info($field)
Gathers various information about a field and returns it as a hashref.
build_inputfield ($fm, $forminfo)
build_inputfield ($fm, $forminfo)
Builds HTML for individual form fields. $forminfo is a hashref containing information about the field.
set_option_lv($fm, $info)
set_option_lv($fm, $info)
Given $info (a hashref with info about a field) figures out the option values/labels for select or radio fields and shoves them into $info->{option_values} and $info->{option_labels}
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre