exp_smarty_render
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
Template operator exp_smarty_render( <file> ).
Description
Template operator exp_smarty_render( <file> ).
The stub every *.stpl is compiled to calls it. Running at render time, on every request and on the compiled path as well, it renders the Smarty template with the template variables of the namespace it is called in.
It can also be used directly in a .tpl: {exp_smarty_render( 'extension/x/design/y/templates/z.stpl' )}
Source
Implemented by expSmartyOperator (lib/smarty/classes/expsmartyoperator.php).
See also
Generated example: exp_smarty_render
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this operator.
Contributors
- Graham Brookins Updated
Comments
Add a comment