Catalyst::Helper::View::BK - Helper for BK Views


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

Index


Code Index:

NAME

Top

Catalyst::Helper::View::BK - Helper for BK Views

SYNOPSIS

Top

    script/create.pl view BK BK

DESCRIPTION

Top

Helper for BK Views.

METHODS

mk_compclass

SEE ALSO

Top

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

AUTHOR

Top

Jeremy Wall, jeremy@marzhillstudios.com

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 %] - BK View for [% app %]

DESCRIPTION

Top

BK View for [% app %].

AUTHOR

Top

[% author %]

SEE ALSO

Top

[% app %]

LICENSE

Top

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


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

use strict;

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

1;

__DATA__

__subclass__
package [% class %];

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

1;