Class::DBI::FromForm - Update Class::DBI data using Data::FormValidator or HTML Widget |
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 the Class::DBI manpage objects from the Data::FormValidator manpage or the HTML::Widget manpage.
Create a new object.
Update object.
This only applies to the HTML::Widget manpage>. Fills the form from a CDBI object.
the Class::DBI manpage, the Class::DBI::FromCGI manpage, the Data::FormValidator manpage
Sebastian Riedel, sri@oook.de
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
Class::DBI::FromForm - Update Class::DBI data using Data::FormValidator or HTML Widget |