function displayCategoryList(&$items) { $tpl = new DOCMAN_Theme(); // Assign values to the Savant instance. $tpl->assignRef('items', $items); // Display a template using the assigned values. return $tpl->fetch('categories/list.tpl.php'); }
function displayDocumentList(&$order, &$items) { $tpl = new DOCMAN_Theme(); // Assign values to the Savant instance. $tpl->assignRef('order', $order); $tpl->assignRef('items', $items); // Display a template using the assigned values. return $tpl->fetch('documents/list.tpl.php'); }
function fetchPageTitle(&$pageTitle) { $tpl = new DOCMAN_Theme(); // Assign values to the Savant instance. $tpl->assignRef('pagetitle', $pageTitle); // Display a template using the assigned values. return $tpl->fetch('general/pagetitle.tpl.php'); }