Quantcast
Channel: Print all variables available in a Smarty template - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by Louis Ferreira for Print all variables available in a Smarty template

$
0
0

$all_tpl_vars = $smarty->getTemplateVars();var_dump($all_tpl_vars);

//before pushing to the template

exit;


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>