X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FConfig.pm;h=c4843b7a4287b58d175f74e72d733cca217c977f;hb=0f81929bbc34e18857388d4f1d84a72ed4457094;hp=b48548efa6d0251dd750c98a85bd8d502eef8c44;hpb=8fe02231d92e4564f0dc52a1aa00e9d0cb974819;p=maypole.git diff --git a/lib/Maypole/Config.pm b/lib/Maypole/Config.pm index b48548e..c4843b7 100644 --- a/lib/Maypole/Config.pm +++ b/lib/Maypole/Config.pm @@ -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 Simon Cozens, C -=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.