$tplFunctions
$tplFunctions : array
Array of source information for known template functions
Tplfunc Runtime Methods callTemplateFunction
callTemplateFunction(\Smarty_Internal_Template $tpl, string $name, array $params, boolean $nocache)
Call template function
| \Smarty_Internal_Template | $tpl | template object |
| string | $name | template function name |
| array | $params | parameter array |
| boolean | $nocache | true if called nocache |
registerTplFunctions(\Smarty_Internal_Template $tpl, array $tplFunctions)
Register template functions defined by template
| \Smarty_Internal_Template | $tpl | |
| array | $tplFunctions | source information array of template functions defined in template |
addTplFuncToCache(\Smarty_Internal_Template $tpl, string $_name, string $_function) : boolean
Add template function to cache file for nocache calls
| \Smarty_Internal_Template | $tpl | |
| string | $_name | template function name |
| string | $_function | PHP function name |
saveTemplateVariables(\Smarty_Internal_Template $tpl, string $name)
Save current template variables on stack
| \Smarty_Internal_Template | $tpl | |
| string | $name | stack name |
restoreTemplateVariables(\Smarty_Internal_Template $tpl, string $name)
Restore saved variables into template objects
| \Smarty_Internal_Template | $tpl | |
| string | $name | stack name |