NAME
Catalyst::View::HTML::Embperl - HTML::Embperl View Class
SYNOPSIS
# use the helper
create.pl view HTML::Embperl HTML::Embperl
# lib/MyApp/View/HTML/Embperl.pm
package MyApp::View::HTML::Embperl;
use base 'Catalyst::View::HTML::Embperl';
1;
# Meanwhile, maybe in an 'end' action
$c->forward('MyApp::View::HTML::Embperl');
DESCRIPTION
This is the HTML::Embperl
view class. Your subclass should inherit from this class.
METHODS
- process
-
Renders the template specified in
$c->stash->{template}
or$c->request->match
. Template params FDAT are set up from the contents of$c->req->parameters
first, then overwritten by$c->stash
. Global variablesbase
set to$c->req->base
,name
to$c->config->{name}
andc
to Catalyst context. Output is stored in$c->response->body
.
SEE ALSO
HTML::Embperl, Catalyst, Catalyst::Base.
AUTHOR
Aldo LeTellier, aldoletellier@bigfoot.com
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 95:
You forgot a '=back' before '=head1'