From 5a4a5fc4916a1efde5e792d3d04e465fb83aeabf Mon Sep 17 00:00:00 2001 From: Sebastian Riedel Date: Mon, 25 Oct 2004 15:03:12 +0000 Subject: [PATCH] documentation fix for Maypole::Config git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@268 48953598-375a-da11-a14b-00016c27c3ee --- Changes | 1 + lib/Maypole/Config.pm | 20 ++++++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) 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. -- 2.39.5