|
NAMECatalyst::View::HTML::Template - HTML::Template View Class SYNOPSIS # use the helper
create.pl view HTML::Template HTML::Template
# lib/MyApp/View/HTML/Template.pm
package MyApp::View::HTML::Template;
use base 'Catalyst::View::HTML::Template';
__PACKAGE__->config(
die_on_bad_params => 0,
file_cache => 1,
file_cache_dir => '/tmp/cache'
);
1;
# Meanwhile, maybe in an 'end' action
$c->forward('MyApp::View::HTML::Template');
DESCRIPTIONThis is the "HTML::Template" view class. Your subclass should inherit from this class. METHODS
SEE ALSOHTML::Template, Catalyst, Catalyst::Base. AUTHORChristian Hansen, "ch@ngmedia.com" COPYRIGHTThis program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
|