<?php
function booster_lang($token)
{
return ucwords(str_replace('_', ' ', $token));
}
require_once 'Booster.class.php';
$b = new Booster();
// Variables to be used within the loaded template
$data = array(
'abc' => 123.269,
'rows' => array('peter', 'Christopher', 'Ben', 'Chris')
);
// Load the template
$b->load('test', $data);
?>
|