Catalyst::View::Petal

Catalyst::View::Petal is a Petal View Class.
Download

Catalyst::View::Petal Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Christian Hansen
  • Publisher web site:
  • http://search.cpan.org/~mramberg/Catalyst-Engine-Server-0.02/lib/Catalyst/Engine/Server.pm

Catalyst::View::Petal Tags


Catalyst::View::Petal Description

Catalyst::View::Petal is a Petal View Class. Catalyst::View::Petal is a Petal View Class.SYNOPSIS # use the helper create.pl view Petal Petal # lib/MyApp/View/Petal.pm package MyApp::View::Petal; use base 'Catalyst::View::Petal'; __PACKAGE__->config( input => 'XML', output => 'XML', error_on_undef_var => 0 ); 1; # Meanwhile, maybe in an 'end' action $c->forward('MyApp::View::Petal');This is the Petal view class. Your subclass should inherit from this class.METHODSprocessRenders the template specified in $c->stash->{template} or $c->request->match. Template variables are set up from the contents of $c->stash, augmented with base set to $c->req->base, c to $c and name to $c->config->{name}. Output is stored in $c->response->body.configThis allows your view subclass to pass additional settings to the Petal config hash. Requirements: · Perl


Catalyst::View::Petal Related Software