Catalyst::Helper::View::TT::Alloy - Helper for Template::Alloy Views


Catalyst-View-TT-Alloy documentation Contained in the Catalyst-View-TT-Alloy distribution.

Index


Code Index:

NAME

Top

Catalyst::Helper::View::TT::Alloy - Helper for Template::Alloy Views

SYNOPSIS

Top

    script/create.pl view TT::Alloy TT::Alloy

DESCRIPTION

Top

Helper for Template::Alloy Views.

METHODS

mk_compclass

SEE ALSO

Top

Catalyst::View::TT::Alloy, Template::Alloy, Catalyst::Manual

AUTHORS

Top

Carl Franks, cfranks@cpan.org

Based on the code of Catalyst::Helper::TT::Alloy, by

Sebastian Riedel, sri@oook.de

Marcus Ramberg, mramberg@cpan.org

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 %] - TT::Alloy View for [% app %]

DESCRIPTION

Top

TT::Alloy 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-TT-Alloy documentation Contained in the Catalyst-View-TT-Alloy distribution.
package Catalyst::Helper::View::TT::Alloy;

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::TT::Alloy';

1;

__END__