$filepath
$filepath : string
Compiled Filepath
Smarty Resource Data Object Meta Data Container for Template Files
process(\Smarty_Internal_Template $_smarty_tpl)
load compiled template or compile from source
\Smarty_Internal_Template | $_smarty_tpl | do not change variable name, is used by compiled template |
getRenderedTemplateCode(\Smarty_Internal_Template $_template, string $unifunc = null)
get rendered template content by calling compiled or cached template code
\Smarty_Internal_Template | $_template | |
string | $unifunc | function with template code |
load(\Smarty_Internal_Template $_template) : \Smarty_Template_Compiled
get a Compiled Object of this source
\Smarty_Internal_Template | $_template | template object |
compiled object
populateCompiledFilepath(\Smarty_Internal_Template $_template)
populate Compiled Object with compiled filepath
\Smarty_Internal_Template | $_template | template object |
render(\Smarty_Internal_Template $_template) : string
render compiled template code
\Smarty_Internal_Template | $_template |
compileTemplateSource(\Smarty_Internal_Template $_template)
compile template from source
\Smarty_Internal_Template | $_template |
write(\Smarty_Internal_Template $_template, string $code) : boolean
Write compiled code by handler
\Smarty_Internal_Template | $_template | template object |
string | $code | compiled code |
success
read(\Smarty_Internal_Template $_template) : string
Read compiled content from handler
\Smarty_Internal_Template | $_template | template object |
content
loadCompiledTemplate(\Smarty_Internal_Template $_smarty_tpl)
Load fresh compiled template by including the PHP file HHVM requires a work around because of a PHP incompatibility
\Smarty_Internal_Template | $_smarty_tpl | do not change variable name, is used by compiled template |