Class::DBI::FromForm - Update Class::DBI data using Data::FormValidator or HTML Widget
package Film; use Class::DBI::FromForm; use base 'Class::DBI'; my $results = Data::FormValidator->check( ... ); my $film = Film->retrieve('Fahrenheit 911'); $film->update_from_form($results); my $new_film = Film->create_from_form($results);
Create and update Class::DBI objects from Data::FormValidator or HTML::Widget.
Create a new object.
Update object.
This only applies to HTML::Widget>. Fills the form from a CDBI object.
Class::DBI, Class::DBI::FromCGI, Data::FormValidator
Sebastian Riedel, sri@oook.de
sri@oook.de
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
To install Class::DBI::FromForm, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::DBI::FromForm
CPAN shell
perl -MCPAN -e shell install Class::DBI::FromForm
For more information on module installation, please visit the detailed CPAN module installation guide.