cfunction.include.php
Plugin from smarty project and adapted for jtpl
Tags
Table of Contents
- jtpl_cfunction_common_include() : string
- function plugin : include a template into another template
Functions
jtpl_cfunction_common_include()
function plugin : include a template into another template
jtpl_cfunction_common_include(jTplCompiler $compiler[, array<string|int, mixed> $param = array() ]) : string
{include 'myModule~foo'}
Parameters
- $compiler : jTplCompiler
-
the template compiler
- $param : array<string|int, mixed> = array()
-
0=>$string the template selector (string)
Return values
string —the php code corresponding to the function content