get_template_vars

array get_template_vars()

This gets an array of the currently assigned template vars.

Example 13-15. get_template_vars

// get all assigned template vars
$tpl_vars = $smarty->get_template_vars();

// take a look at them
var_dump($tpl_vars);