X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FConfig.pm;h=024b78cf727899949d05dc1d5f7ee8beede96bd9;hb=9def4d1b9f2f3dd6d2f0f789610954209b133703;hp=65263ff029672e6cdfd384084b6ef97170124442;hpb=7913f720113bfd85b59a9fed57a60ec7a665fb39;p=maypole.git diff --git a/lib/Maypole/Config.pm b/lib/Maypole/Config.pm index 65263ff..024b78c 100644 --- a/lib/Maypole/Config.pm +++ b/lib/Maypole/Config.pm @@ -5,10 +5,12 @@ use attributes (); use strict; use warnings; +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. @@ -55,6 +57,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