Para::Frame::Renderer::TT - Renders a TT page
Para::Frame::Renderer::TT->new( \%args )
args: template
$p->render_output()
Burns the page and stores the result.
Returns:
True on success (the content as a scalar-ref or sender object) False on failure
$p->set_burner_by_type( $type )
Calls Para::Frame::Burner/get_by_type and store it in the page object.
Returns: the burner
$p->burner
Returns: the Para::Frame::Burner selected for this page
$p->burn( $in, $out );
Calls Para::Frame::Burner/burn with ($in, $params, $out)
there
$params
are set by /set_tt_params.
Returns: the burner
The standard functions availible in templates. This is called before the page is rendered. You should not call it by yourself.
page
url_path_slash
. (For making it easier to link back to the intended
page)
req
object.
$resp->add_params( \%params ) $resp->add_params( \%params, $keep_old_flag )
Adds template params. This can be variabls, objects, functions.
If $keep_old_flag
is true, we will not replace existing params with
the same name.
May not be defined
$p->paths( $burner )
Automaticly called by Template::Provider to get the include paths for building pages from templates.
Returns: /incpath