save()
save(\Smarty_Internal_Template $tpl, string $var)
Save current variable value while rendering compiled template and inject nocache code to assign variable value in cahed template
Parameters
\Smarty_Internal_Template | $tpl | |
string | $var | variable name |
Throws
- \SmartyException