Catalyst::Helper::View::Jemplate - Helper for Jemplate Views


Catalyst-View-Jemplate documentation Contained in the Catalyst-View-Jemplate distribution.

Index


Code Index:

NAME

Top

Catalyst::Helper::View::Jemplate - Helper for Jemplate Views

SYNOPSIS

Top

    script/create.pl view Jemplate Jemplate

DESCRIPTION

Top

Helper for Jemplate Views.

METHODS

mk_compclass

SEE ALSO

Top

Jemplate

AUTHOR

Top

Tatsuhiko Miyagawa, miyagawa@bluknews.net Daisuke Maki, daisuke@endeworks.jp

LICENSE

Top

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

NAME

Top

[% class %] - Jemplate View for [% app %]

DESCRIPTION

Top

Jemplate View for [% app %].

AUTHOR

Top

SEE ALSO

Top

[% app %]

[% author %]

LICENSE

Top

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


Catalyst-View-Jemplate documentation Contained in the Catalyst-View-Jemplate distribution.
package Catalyst::Helper::View::Jemplate;

use strict;

sub mk_compclass {
    my ( $self, $helper ) = @_;
    my $file = $helper->{file};
    $helper->render_file( 'compclass', $file );
}

1;

__DATA__

__compclass__
package [% class %];

use strict;
use base 'Catalyst::View::Jemplate';

1;