HTML::FormFu::Plugin - base class for plugins
version 2.01_02
Plugins can be added to a form or any element to modify their behaviour. Some plugins should only be added to either a form, or an element, depending on their design.
Plugins can override any of the following method stubs.
Only plugins added to a form or a field element inheriting from HTML::FormFu::Role::Element::Field will have their process method run.
process
For form plugins, is called during "process" in HTML::FormFu, before process is called on any elements.
For field plugins, is called during the field's process call.
For form plugins, is called immediately after pre_process is run on the elements.
pre_process
For element plugins, is called before pre_process is run on form plugins.
For form plugins, is called immediately before "process" in HTML::FormFu returns.
For element plugins, is called before post_process is run on form plugins.
post_process
Only plugins added to a form will have their render method run.
render
Is called during "render" in HTML::FormFu before the "render_method" in HTML::FormFu is called.
Only plugins added to a form will have their post_render method run.
post_render
Is called during "render" in HTML::FormFu immediately before "render" in HTML::FormFu return.
Is passed a reference to the return value of "render_method" in HTML::FormFu.
Carl Franks, cfranks@cpan.org
cfranks@cpan.org
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTML::FormFu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::FormFu
CPAN shell
perl -MCPAN -e shell install HTML::FormFu
For more information on module installation, please visit the detailed CPAN module installation guide.