Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    SQLite::Work::CGI 0.1001

    Download button

    No screenshots available
    Downloads: 361  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.6/5)
    15 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Kathryn Andersen | More programs
    Perl Artistic License / FREE
    December 20th, 2007, 13:40 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    SQLite::Work::CGI description

    SQLite::Work::CGI is a Perl module to report and update a SQLite database using CGI.

    SQLite::Work::CGI is a Perl module to report and update a SQLite database using CGI.

    CLASS METHODS

    new

    my $obj = SQLite::Work->new( database=>$database_file, row_ids=>{ episodes=>'title_id', }, join_cols=>{ 'episodes+recordings'=>'title_id', } }, report_template=>$report_template, default_format=>{ 'episodes' => { 'title'=>'title', 'series_title'=>'title', } }, input_format=>{ 'reviews' => { 'Review'=>{ type=>'textarea', cols=>60, rows=>4, } } }, max_sort_fields=>10, sort_label=>'Zsort', sort_reversed_prefix=>'Zsort_reversed_', headers_label=>'Zheader_', show_label=>'Zshow', where_prefix=>'Zwhere_', not_prefix=>'Znot_', );

    Make a new report object.

    Takes the same arguments as SQLite::Work::new() plus the following additions:

    input_format

    This contains information about what style of input field should be used for this particular column in this table. This is used for the Edit and Add forms.

    max_sort_fields

    The maximum number of sort fields required (default: 10)

    sort_label

    Name of the sort parameter.

    sort_reversed_prefix

    Prefix of the sort-reversed parameters.

    headers_label

    Name of the headers parameter.

    show_label

    Name of the columns-to-show parameter.

    where_prefix

    Prefix of the 'where' parameters.

    not_prefix

    Prefix of the not-where parameters.

    OBJECT METHODS

    do_select

    $obj->do_select($table, command=>'Search');

    Select data from a table in the database. Uses CGI to get most of the parameters.

    The 'command' is 'Search' by default; if it is something else, then the result generated has edit fields and buttons in it.

    do_single_update

    Update a single column in a single row, or all columns in a single row.

    do_add_form

    $obj->do_add_form($table);

    Set up for adding a row to the database.

    do_add

    Add a row to a table.

    do_single_delete

    Delete a single row.

    make_search_form

    Create the search form for the given table.

    my $form = $obj->make_search_form($table, %args);

    do_search_form

    Display the search form for the given table.

    make_table_form

    Make the table selection form.

    do_table_form

    Display the table selection form.

    Requirements:

    · Perl



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    SQLite database | database report | Perl module | SQLite | database | CGI

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM