Just begun trying to explore the possiblities of templates and I've run into trouble passing the output function of a class through the template.
very stripped down I have
the final call to print the object
$form -> output();
and then pass to template
$t=new template("templates");
$t->set_file("input", "mask.php");
$t->set_var("form", $form);
$t->pparse("output", "input");
I've tried all number of ways to get form to print the page but it's just not happening so any help woul dbe most appreciated.