NAME

Leyland::View::Tenjin - Tenjin view class for Leyland

VERSION

version 1.000001

SYNOPSIS

# in your app's class
sub setup {
	return {
		...
		views => ['Tenjin'], # this is the default
		view_dir => 'views', # this is also the default
		...
	};
}

DESCRIPTION

This module uses the Tenjin template engine to render views. It is the default view class used by <Leyland>.

CONSUMES

Leyland::View

ATTRIBUTES

engine

The Tenjin object used.

OBJECT METHODS

render( $view, [ \%context, \%use_layout ] )

Implements the render() method, as defined and required by Leyland::View.

INTERNAL METHODS

BUILD

AUTHOR

Ido Perlmuter, <ido at ido50.net>

BUGS

Please report any bugs or feature requests to bug-Leyland at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Leyland. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Leyland::View::Tenjin

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2010-2014 Ido Perlmuter.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.