X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FConfig.pm;h=cc9a9f59250b9a9faa74f4689b3629e7991c3b65;hb=87b344ae821415d62efc0c100836155a9e518c71;hp=6a236c829c8ecf950651cb2ed725472757264125;hpb=9b8f3c269605db27908000957b20cc3a336f9148;p=maypole.git diff --git a/lib/Maypole/Config.pm b/lib/Maypole/Config.pm index 6a236c8..cc9a9f5 100644 --- a/lib/Maypole/Config.pm +++ b/lib/Maypole/Config.pm @@ -9,8 +9,8 @@ our $VERSION = "1." . sprintf "%04d", q$Rev$ =~ /: (\d+)/; # Public accessors. __PACKAGE__->mk_accessors( - qw( view uri_base template_root model loader display_tables ok_tables - rows_per_page dsn user pass opts application_name) + qw( view view_options uri_base template_root model loader display_tables + ok_tables rows_per_page dsn user pass opts application_name) ); # Should only be modified by model. @@ -34,10 +34,14 @@ This class stores all configuration data for your Maypole application. This should be a string containing your application's name. +Optional. Is used in the factory templates. + =head3 rows_per_page This is the number of rows your application should display per page. +Optional. + =head3 tables Contains a list of all tables, if supported by model. @@ -48,8 +52,7 @@ This is where your application can find its templates. =head3 uri_base -This is the URI base that should be prepended to your application when -Maypole +This is the URI base that should be prepended to your application when Maypole makes URLs. =head3 view @@ -57,6 +60,11 @@ makes URLs. The name of the view class for your Maypole Application. Defaults to "Maypole::View::TT". +=head3 view_options + +A hash of configuration options for the view class. Consult the documentation +for your chosen view class for information on available configuration options. + =head2 Model-Related =head3 classes