Gerald Richter > Embperl > Embperl::Form

Download:
Embperl-2.5.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View/Report Bugs
Source  

NAME ^

Embperl::Form - Embperl Form class

SYNOPSIS ^

DESCRIPTION ^

METHODS ^

new ($controls, $options)

layout

validate

show

convert_label

Converts the label of a control to the text that should be outputed. By default does return the text or name parameter of the control. Can be overwritten to allow for example internationalization.

$ctrl

Embperl::Form::Control object

$name

optional: name to translate, if not given take $ctrl -> {name}

convert_text

Converts the text of a control to the text that should be outputed. By default does return the text or name parameter of the control. Can be overwritten to allow for example internationalization.

$ctrl

Embperl::Form::Control object

convert_options

Converts the values of a control to the text that should be outputed. By default does nothing. Can be overwritten to allow for example internationalization.

$ctrl

Embperl::Form::Control object

$values

values of the control i.e. values that are submitted

$options

options of the control i.e. text that should be displayed

AUTHOR ^

G. Richter (richter at embperl dot org)

SEE ALSO ^

perl(1), Embperl, Embperl::Form::Control

syntax highlighting: