Catalyst::Helper::View::HTML::Template::Compiled - Helper for HTML::Template::Compiled Views


Catalyst-View-HTML-Template-Compiled documentation Contained in the Catalyst-View-HTML-Template-Compiled distribution.

Index


Code Index:

NAME

Top

Catalyst::Helper::View::HTML::Template::Compiled - Helper for HTML::Template::Compiled Views

SYNOPSIS

Top

    script/myapp_create.pl view HTML::Template::Compiled HTML::Template::Compiled

DESCRIPTION

Top

Helper for HTML::Template::Compiled Views.

METHODS

Top

mk_compclass

SEE ALSO

Top

Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst::Helper

AUTHOR

Top

Sascha Kiefer, <esskar@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 %] - HTML::Template::Compiled View Component

SYNOPSIS

Top

    Very simple to use

DESCRIPTION

Top

Very nice component.

AUTHOR

Top

Clever guy

LICENSE

Top

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


Catalyst-View-HTML-Template-Compiled documentation Contained in the Catalyst-View-HTML-Template-Compiled distribution.
package Catalyst::Helper::View::HTML::Template::Compiled;

use strict;
our $VERSION = '0.03';

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::HTML::Template::Compiled';

1;