Jelix 1.6.40

cfunction.include.php

Plugin from smarty project and adapted for jtpl

Tags
subpackage

jtpl_plugin

copyright

2001-2003 ispi of Lincoln, Inc.

contributor

Brice Tence

link
http://smarty.php.net/
link
http://jelix.org/
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

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

Search results