Query: catalyst::view::petal
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Catalyst::View::Petal(3pm) User Contributed Perl Documentation Catalyst::View::Petal(3pm)NAMECatalyst::View::Petal - Petal View ClassSYNOPSIS# 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');DESCRIPTIONThis is the "Petal" view class. Your subclass should inherit from this class. METHODS process Renders 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". config This allows your view subclass to pass additional settings to the Petal config hash.SEE ALSOPetal, 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. perl v5.14.2 2009-08-10 Catalyst::View::Petal(3pm)
Similar Topics in the Unix Linux Community |
---|
View command was typed |
View the Server Total Ram in GB |
Permanent Dynamic “View” |
View file flags |
View my posts |