NAME

Maplat::Web::ComputerDB::Computers - manage a list of Computers

SYNOPSIS

use Maplat::Web;
use Maplat::Web::ComputerDB;

Then configure() the module as you would normally.

DESCRIPTION

<module>
    <modname>globalcomputers</modname>
    <pm>ComputerDB::Computers</pm>
    <options>
        <computerselect>
            <webpath>/computers/computerselect</webpath>
            <pagetitle>Computer Select</pagetitle>
        </computerselect>
        <pdflist>
            <webpath>/computers/pdflist</webpath>
            <logo>/path/to/logo/on/pdf.gif</logo>
        </pdflist>
        <computeredit>
            <webpath>/computers/computeredit</webpath>
            <pagetitle>Computer Edit</pagetitle>
        </computeredit>
        <db>maindb</db>
        <memcache>memcache</memcache>
        <session>sessionsettings</session>
    </options>
</module>

This module provides the webmasks required to edit and list computers in the database and to print a PDF.

on_login

Internal function, sets some basic states in every login session

get_edit

Internal function, renders the "Edit computer" mask

get_select

Internal function, renders the "List Computers" mask

get_pdflist

Internal function, creates the PDF computer list

AUTHOR

Rene Schickbauer, <rene.schickbauer@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2008-2010 by Rene Schickbauer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.