Shawn M Moore > Jifty > Jifty::View::Declare::Handler

Download:
Jifty-1.10518.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  13
Open  4
Stalled  1
View/Report Bugs
Source  

NAME ^

Jifty::View::Declare::Handler - The Jifty view handler for Template::Declare

METHODS ^

new

Initialize Template::Declare. Passes all arguments to Template::Declare->init

config

show TEMPLATENAME

Render a template. Expects that the template and any jifty methods called internally will end up being returned as a scalar, which we then print to STDOUT

template_exists TEMPLATENAME

Given a template name, returns a valid template path (either TEMPLATENAME or TEMPLATENAME/index.html) if the template is in any of our Template::Declare template libraries. Otherwise returns false.

syntax highlighting: