get_template_vars <methodsynopsis> <type>array</type><methodname>get_template_vars</methodname> <methodparam choice="opt"><type>string</type><parameter>varname</parameter></methodparam> </methodsynopsis> <para> This returns the given assigned variable value. If no parameter is given, an array of all assigned variables is returned. </para> <example> <title>get_template_vars get_template_vars('foo'); // get all assigned template vars $tpl_vars = $smarty->get_template_vars(); // take a look at them print_r($tpl_vars); ?> ]]>