User Contributed Perl Documentation Form(3) Publication::Form - Perl extension for creating Forms for the publication database. use Publication::Form; my $form = Form->new($cgi, $dbhandle); $form->publication_form(); $form->print_success(); This module provides an object that creates forms. Use this module to create forms. Publication::Form->new($cgi, $dbhandle): Creates a new, fully functional instance of Form Publication::Form->new($cgi): Creates a limited instance of Form (cannot run methods that indicate they require a db handle). $form->publication_form($publication): Prints the form to edit a publication (whether that publication exists or not) REQUIRES DB HANDLE $form->print_no_exist() This is an error page for when a publication isn't in the database. (May become deprecated.) $form->print_success() Prints a nice success message and some links. $form->print_short_success() Same things without links for the general people. $form->verify_del($publication) The "are you sure you want to delete this" page that you should have to go through to delete a publication. $form->no_accepted() When there are no TMP publications waiting to be accepted. $form->accept_type() When an outside user has entered a publication a type needs to be selected for it before it can be edited and accepted. $form->year_search_table($calling_script, $search_script) Makes a table, complete with form, to do a search by year, giving the search string to $search_script. $calling_script is used for the Select All and clear functions. $form->type_search_table($calling_script, $search_script) Makes a table, complete with form, to do a search by type and year, giving the search string to $search_script. $calling_script is used for the Select All and clear functions. $form->number_search_table($search_script) Makes a table, complete with form, to do a search by number giving the search string to $search_script. $form->content_search_table() Makes a simple text search for InQuery, in a table with the necessary form tags. $form->advanced_search_table() Makes a far more complex search for InQuery, in a table with the necessary form tags. Can search by year, author, title, conference, type, and text. $form->abstract_edit_table($publication) A table to edit/view the abstract of a publication. $form->funding_search_table($search_script) Makes a table, complete with form, to do a search by funding, giving the search string to $search_script. REQUIRES DB HANDLE $form->copyright() Nice little copyright info. Publication::Publication Publication::Search Eric Galis, Copyright 2004 by Eric Galis This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.0 Last change: 2004-04-29 2