John Napiorkowski > Catalyst-Runtime-5.90051 > Catalyst::View

Download:
Catalyst-Runtime-5.90051.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  19
Open  15
Stalled  1
View/Report Bugs
Source   Latest Release: Catalyst-Runtime-5.90069_002

NAME ^

Catalyst::View - Catalyst View base class

SYNOPSIS ^

    package Catalyst::View::Homebrew;

    use base qw/Catalyst::View/;

    sub process {
    # template processing goes here.
    }

DESCRIPTION ^

This is the Catalyst View base class. It's meant to be used as a base class by Catalyst views.

As a convention, views are expected to read template names from $c->stash->{template}, and put the output into $c->res->body. Some views default to render a template named after the dispatched action's private name. (See Catalyst::Action.)

METHODS ^

Implements the same methods as other Catalyst components, see Catalyst::Component

process

gives an error message about direct use.

AUTHORS ^

Catalyst Contributors, see Catalyst.pm

COPYRIGHT ^

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: