Class::DBI::FromForm(3pm)

Class::DBI::FromForm3pm

Update class::dbi data using data::formvalidator or html widget

Usage

  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);

Overview

Create and update Class::DBI objects from Data::FormValidator or HTML::Widget.

Methods

create_from_form

Create a new object.

update_from_form

Update object.

fill_widget <widget>

This only applies to HTML::Widget>. Fills the form from a CDBI object.

Releases

10 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0–6.0
  3. 7–10
  4. 11–13

Author

Sebastian Riedel, "[email protected]"

License

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.

From libclass-dbi-fromform-perl 0.04-3.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.