X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FView%2FTT.pm;h=db1b580e5b7c1dd41c251edb18c17250e9b9c582;hb=2774dc77bd7a72a60d51d5c85802ddcaa724a012;hp=1daa3ad79ca53a8cddea9699a26a5fa8e11e365f;hpb=becb7ac29cc66744275c5322f93b5e3cb5ec599f;p=catagits%2FCatalyst-View-TT.git
diff --git a/lib/Catalyst/View/TT.pm b/lib/Catalyst/View/TT.pm
index 1daa3ad..db1b580 100644
--- a/lib/Catalyst/View/TT.pm
+++ b/lib/Catalyst/View/TT.pm
@@ -73,6 +73,13 @@ You can supress template profiling when debug is enabled by setting:
=head2 METHODS
+=over 4
+
+=item new
+
+The constructor for the TT view. Sets up the template provider,
+and reads the application config.
+
=cut
sub new {
@@ -94,12 +101,14 @@ sub new {
return $self;
}
-=head3 process
+=item process
-Renders the template specified in C<< $c->stash->{template} >> or C<< $c->request->match >>.
-Template variables are set up from the contents of C<< $c->stash >>, augmented with C
-set to C<< $c->req->base >>, C to C<$c> and C to C<< $c->config->{name} >>. Output is
-stored in C<< $c->response->output >>.
+Renders the template specified in C<< $c->stash->{template} >> or C<<
+$c->request->match >>.
+Template variables are set up from the contents of C<< $c->stash >>,
+Jaugmented with C set to C<< $c->req->base >>, C to C<$c> and
+C to C<< $c->config->{name} >>. Output is stored in
+C<< $c->response->output >>.
=cut
@@ -136,16 +145,16 @@ sub process {
return 1;
}
-=head3 config
+=item config
This allows your view subclass to pass additional settings to the
TT config hash.
-=cut
+=back
=head1 SEE ALSO
-L.
+L. L
=head1 AUTHOR
@@ -154,8 +163,8 @@ Marcus Ramberg, C
=head1 COPYRIGHT
-This program is free software, you can redistribute it and/or modify it under
-the same terms as Perl itself.
+This program is free software, you can redistribute it and/or modify it
+under the same terms as Perl itself.
=cut