Question

how get variable from smarty v3? With Smarty v2 i use this function: get_template_vars, but in v3 this no't work.

Was it helpful?

Solution

They removed the underscores and went camelCase in version 3: getTemplateVars()

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top