Jelix 1.7.18

cfunction.fetchzone.php

Tags
subpackage

jtpl_plugin

author

Julien Issler

copyright

2009 Julien Issler

see
http://www.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_fetchzone()  : string
cfunction to fetch the content of a zone into a tpl var.

Functions

jtpl_cfunction_common_fetchzone()

cfunction to fetch the content of a zone into a tpl var.

jtpl_cfunction_common_fetchzone(jTplCompiler $compiler[, mixed $params = array() ]) : string
 {fetchzone 'myVar', 'myModule~myzone', array('foo'=>'bar)}
{if $myVar !== ''}
{$myVar}
{/if}
Parameters
$compiler : jTplCompiler

the template compiler

$params : mixed = array()
Return values
string

the php code corresponding to the function content

Search results