X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=e4c0f7318e8847c1d38504ec2df014dda1a38f5e;hb=ef4179f9df284d7bcfd5e6e0da8ffba444e346c6;hp=9c67ad6be2329e7791fcfb0b0dd9c6a6471c7892;hpb=e5f59b8d71f41aabe4372687a0fa45a25a0e3a13;p=maypole.git diff --git a/lib/Maypole.pm b/lib/Maypole.pm index 9c67ad6..e4c0f73 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -130,8 +130,9 @@ sub is_applicable { $config->ok_tables || $config->ok_tables( $config->display_tables ); $config->ok_tables( { map { $_ => 1 } @{ $config->ok_tables } } ) if ref $config->ok_tables eq "ARRAY"; - warn "We don't have that table ($self->{table}).\n". - "Available tables are: ".join (",", @{ $config->{display_tables} }) + warn "We don't have that table ($self->{table}).\n" + . "Available tables are: " + . join( ",", @{ $config->{display_tables} } ) if $self->debug and not $config->ok_tables->{ $self->{table} }; return DECLINED() unless exists $config->ok_tables->{ $self->{table} }; @@ -302,6 +303,13 @@ You should only need to define this method if you are writing a new Maypole backend. Otherwise, see L +=head3 get_request + +You should only need to define this method if you are writing a new +Maypole backend. It should return something that looks like an Apache +or CGI request object, it defaults to blank. + + =head3 is_applicable Returns a Maypole::Constant to indicate whether the request is valid. @@ -386,6 +394,33 @@ Get/set the output content type. Default: text/html Sends the output and additional headers to the user. +=head3 call_authenticate + +This method first checks if the relevant model class +can authenticate the user, or falls back to the default +authenticate method of your Maypole application. + + +=head3 call_exception + +This model is called to catch exceptions, first after authenticate +,then after processing the model class, and finally to check for +exceptions from the view class. + +This method first checks if the relevant model class +can handle exceptions the user, or falls back to the default +exception method of your Maypole application. + + +=head3 handler + +This method sets up the class if it's not done yet, sets some +defaults and leaves the dirty work to handler_guts. + +=head3 handler_guts + +This is the core of maypole. You don't want to know. + =head1 SEE ALSO There's more documentation, examples, and a wiki at the Maypole web @@ -395,17 +430,17 @@ http://maypole.perl.org/ L,L, L. -=head1 MAINTAINER +=head1 AUTHOR Sebastian Riedel, c -=head1 AUTHOR +=head1 AUTHOR EMERITUS Simon Cozens, C -=head1 THANK YOU +=head1 THANKS TO -Danijel Milicevic, Jesse Sheidlower, Jody Belka, Marcus Ramberg, +Danijel Milicevic, Dave Slack, Jesse Sheidlower, Jody Belka, Marcus Ramberg, Mickael Joanne, Simon Flack, Veljko Vidovic and all the others who've helped.