\Smarty_Internal_Runtime_Make_Nocache

{make_nocache} Runtime Methods save(), store()

Summary

Methods
Properties
Constants
save()
store()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

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

store()

store(\Smarty_Internal_Template  $tpl, string  $var, array  $properties) 

Store variable value saved while rendering compiled template in cached template context

Parameters

\Smarty_Internal_Template $tpl
string $var

variable name

array $properties