Koha::TemplateUtils
A module to centralize and standardize processing of template toolkit syntax for uses other than slips and notices.
Koha has evolved to use Template Toolkit for many uses outside of generating slips and notices for patrons. Historically, each of these areas processed template toolkit in a slightly different way. This module is meant to allow Template Toolkit syntax to be processed in a standard and generic way such that all non-notice TT syntax is handled and processed the consistently.
$processed = process_tt($template, $vars);
Process the given Template Toolkit string, passing the given hashref of vars to the template, returning the processed string.
Kyle M Hall <kyle@bywatersolutions.com>