Stefan Hornburg (Racke) > Template-Flute-0.0061 > Template::Flute::Form

Download:
Template-Flute-0.0061.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Template-Flute-0.0119

NAME ^

Template::Flute::Form - Form object for Template::Flute templates.

CONSTRUCTOR ^

new

Creates Template::Flute::Form object.

METHODS ^

params_add PARAMS

Add parameters from PARAMS to form.

fields_add FIELDS

Add fields from FIELDS to form.

inputs_add INPUTS

Add inputs from INPUTS to form.

name

Returns name of the form.

elt

Returns corresponding HTML template element of the form.

fields

Returns form fields.

params

Returns form parameters.

inputs

Returns form inputs.

input PARAMS

Verifies that input parameters are sufficient. Returns 1 in case of success, 0 otherwise.

iterators

Returns names of all iterators used by the fields for this form.

action

Returns current form action.

set_action ACTION

Sets from action to ACTION.

set_method METHOD

Sets form method to METHOD, e.g. GET or POST.

fill PARAMS

Fills form with parameters from hash reference PARAMS.

finalize ELT

Finalizes form.

query

Returns Perl structure for database query based on the specification.

AUTHOR ^

Stefan Hornburg (Racke), <racke@linuxia.de>

LICENSE AND COPYRIGHT ^

Copyright 2010-2013 Stefan Hornburg (Racke) <racke@linuxia.de>.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: