The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Maypole::Config - Maypole Configuration Class

DESCRIPTION

This class stores all configuration data for your Maypole application.

METHODS

view

The view class for your Maypole Application. Defaults to "Maypole::View::TT"

uri_base

This is the uri base that should be appended to your application when maypole makes urls.

template_root

This is where your application can find it's templates.

rows_per_page

This is the number of rows your application should display per page.

display_tables

These are the tables that are public to your maypole application

ok_tables

These are the tables that maypole should care about

model

The model class for your Maypole Application. Defaults to "Maypole::View::CDBI"

loader

This is the loader object. It's set up by the CDBI model if it's not initialized before setup.

classes

This config variable contains a list of your view classes. This set up by the model class, and should not be changed in the view or the config.

dsn The DSN to your database. Follows standard DBD syntax.

user

Username to log into the database with

pass

Password for database user.

opts

Other options to the dbi connect call.

SEE ALSO

Maypole

MAINTAINER

Sebastian Riedel, c<sri@oook.de>

AUTHOR

Simon Cozens, simon@cpan.org

LICENSE

You may distribute this code under the same terms as Perl itself.