1Catalyst::View(3)     User Contributed Perl Documentation    Catalyst::View(3)
2
3
4

NAME

6       Catalyst::View - Catalyst View base class
7

SYNOPSIS

9           package Catalyst::View::Homebrew;
10
11           use base qw/Catalyst::View/;
12
13           sub process {
14           # template processing goes here.
15           }
16

DESCRIPTION

18       This is the Catalyst View base class. It's meant to be used as a base
19       class by Catalyst views.
20
21       As a convention, views are expected to read template names from
22       $c->stash->{template}, and put the output into $c->res->body.  Some
23       views default to render a template named after the dispatched action's
24       private name. (See Catalyst::Action.)
25

METHODS

27       Implements the same methods as other Catalyst components, see Cata‐
28       lyst::Component
29
30       process
31
32       gives an error message about direct use.
33
34       $c->merge_hash_config( $hashref, $hashref )
35
36       Merges two hashes together recursively, giving right-hand precedence.
37

AUTHOR

39       Sebastian Riedel, "sri@oook.de" Marcus Ramberg, "mramberg@cpan.org"
40
42       This program is free software, you can redistribute it and/or modify it
43       under the same terms as Perl itself.
44
45
46
47perl v5.8.8                       2007-09-20                 Catalyst::View(3)
Impressum