From: Sebastian Riedel Date: Mon, 25 Oct 2004 15:03:12 +0000 (+0000) Subject: documentation fix for Maypole::Config X-Git-Tag: 2.10~94 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=5a4a5fc4916a1efde5e792d3d04e465fb83aeabf;p=maypole.git documentation fix for Maypole::Config git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@268 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/Changes b/Changes index 4f0b6df..c602cce 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ Revision history for Perl extension Maypole - increased version number of Apache::MVC - fixed display_tables bug (Steve Simms) - fixed templates, now again XHTML compliant + - documentation fix (Dave Howorth) 2.02 Mon Oct 25 13:00:00 2004 - Fixed charset in http header. diff --git a/lib/Maypole/Config.pm b/lib/Maypole/Config.pm index 54f2c1e..c4843b7 100644 --- a/lib/Maypole/Config.pm +++ b/lib/Maypole/Config.pm @@ -8,15 +8,11 @@ use warnings; # 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 document_encoding - content_type models) + rows_per_page dsn user pass opts application_name) ); # Should only be modified by model. -__PACKAGE__->mk_ro_accessors( - qw( classes tables table_to_class - ) -); +__PACKAGE__->mk_ro_accessors(qw( classes tables table_to_class)); 1; @@ -32,6 +28,10 @@ This class stores all configuration data for your Maypole application. =head2 View related +=head3 application_name + +This should be a string containing you applications name. + =head3 view The view class for your Maypole Application. Defaults to "Maypole::View::TT" @@ -41,6 +41,14 @@ The view class for your Maypole Application. Defaults to "Maypole::View::TT" This is the uri base that should be appended to your application when maypole makes urls. +=head3 tables + +Contains a list of all tables, if supported by model. + +=head3 table_to_class + +A hash containing a table to class mapping, if supported by model. + =head3 template_root This is where your application can find it's templates.