this may be the answer
From the smarty site faqs
Q: Is there an instruction to get all vars assigned to a template? (Mattia)
A: Yes, using get_template_vars (Oscar Fernandez Sierra):
// get all assigned template vars
$tpl_vars = $smarty->get_template_vars();
// take a look at them
var_dump($tpl_vars);
|