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
28       Catalyst::Component
29
30   process
31       gives an error message about direct use.
32

AUTHORS

34       Catalyst Contributors, see Catalyst.pm
35
37       This library is free software. You can redistribute it and/or modify it
38       under the same terms as Perl itself.
39
40
41
42perl v5.30.1                      2020-01-29                 Catalyst::View(3)
Impressum