]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Config.pm
documentation fix for Maypole::Config
[maypole.git] / lib / Maypole / Config.pm
index b48548efa6d0251dd750c98a85bd8d502eef8c44..c4843b7a4287b58d175f74e72d733cca217c977f 100644 (file)
@@ -8,14 +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)
+      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;
 
@@ -31,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"
@@ -40,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.
@@ -98,11 +107,6 @@ Sebastian Riedel, c<sri@oook.de>
 
 Simon Cozens, C<simon@cpan.org>
 
-=head1 THANK YOU
-
-Jesse Scheidlower, Jody Belka, Markus Ramberg, Mickael Joanne, Simon Flack,
-Veljko Vidovic and all the others who've helped.
-
 =head1 LICENSE
 
 You may distribute this code under the same terms as Perl itself.