Catalyst::View::HTML::Template man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Catalyst::View::HTML::UserlContributed Perl DCatalyst::View::HTML::Template(3)

NAME
       Catalyst::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');

DESCRIPTION
       This is the "HTML::Template" 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 are set up from the contents
	   of "$c->stash", augmented with "base" set to "$c->req->base" and
	   "name" to "$c->config->{name}".  Output is stored in
	   "$c->response->body".

       render
	   Renders the given template and returns output. Template params are
	   set up either from the contents of  %$args if $args is a hashref,
	   or "$c->stash", augmented with "base" set to "$c->req->base" and
	   "name" to "$c->config->{name}".

       config
	   This allows your view subclass to pass additional settings to the
	   HTML::Template config hash.

SEE ALSO
       HTML::Template, Catalyst, Catalyst::Base.

AUTHOR
       Christian Hansen, "ch@ngmedia.com"

COPYRIGHT
       This program is free software, you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.14.1			  2011-07-21 Catalyst::View::HTML::Template(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net