Tab2MAGE logo Module detail: WebForm.pm

NAME

ArrayExpress::AutoSubmission::WebForm - A CGI::Application web form for Tab2MAGE/MAGE-TAB data submissions.


SYNOPSIS

 use ArrayExpress::AutoSubmission::WebForm;
 my $webapp = ArrayExpress::AutoSubmission::WebForm->new(
     PARAMS => {
        experiment_type  => 'MAGE-TAB',
        spreadsheet_type => 'MAGE-TAB',
        cgi_base         => '/cgi-bin/microarray/magetab.cgi',
        stylesheet       => '/microarray/tab2mage.css',
        intro_html_template    => 'magetab_intro.html',
        upload_html_template   => 'magetab_upload.html',
        template_html_template => 'magetab_template.html',
        sidebar_icons   => [
            {
                image       => '/microarray/aelogo.png',
                destination => 'http://www.ebi.ac.uk/arrayexpress/',
                alt         => 'ArrayExpress',
            },
        ],
        sidebar_links   => [
            {
                text        => 'Microarray group',
                destination => 'http://www.ebi.ac.uk/microarray/',
            },
        ],
    }
 );
 # Start the CGI script.
 $webapp->run();

DESCRIPTION

This module is the core of the web application used in the Tab2MAGE and MAGE-TAB data submission web forms. Objects are instantiated with a PARAMS attribute which can be used to customise various aspects of the web form behaviour.


METHODS

new

Object constructor. See the CGI::Application documentation for details.

run

The method used to start the web application.


TODO

Documentation of the options which can be customised using the PARAMS attribute.


AUTHOR

Tim Rayner (rayner@ebi.ac.uk), ArrayExpress team, EBI, 2008.

Acknowledgements go to the ArrayExpress curation team for feature requests, bug reports and other valuable comments.


SourceForge.net Logo